menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Posts
Members
Info

Hi , I am new to Apollo and am trying to integrate with iOS .

So far the set up with Hasura and AWS/Postgres has been straightforward with the matching query/mutations. However am finding the iOS /Apollo documentation difficult ( at least with my newbie knowledge) and would like to find additional information for the iOS/Apollo…

thumbsup
0
message-simple
0

Creating Long CustomScalar

Hello, I am currently trying to create a custom Scalar named Long. The Graph QL api was written in Java, which uses Long for the ids. Is there a way I can achieve this? I tried using Int, and String which I get a warning saying Apollo already created this variables. When I try…

thumbsup
0
message-simple
0

Apollo on iOS I feel depressed. Been stuck on this for the entire day.

SCRIPT_PATH="${PODS_ROOT}/Apollo/scripts" cd "${SRCROOT}/${TARGET_NAME}" "${SCRIPT_PATH}"/run-bundled-codegen.sh codegen:generate --target=swift --includes=./*/.graphql --localSchemaFile="schema.json" API.swift …

thumbsup
0
message-simple
9

Converting queries/mutations in graph schema to actual requests

While I have found a number of scripts talking about converting a REST api to a schema, I am looking for a little of the opposite. I am looking for a script (groovy/java ideal) to create a query or mutation, if not all in a single run, based on the currently created schema. As…

thumbsup
0
message-simple
0

Upgrading to 0.34.1 makes query return query + queryId are mutually exclusive

I was on 0.30.0 for a while with Swift Codegen working. All was well until I decided to upgrade to 0.34.1 - and transitioned to using InterceptorProvider to add Auth headers etc. Every query to the GraphQL service now succeeds with the following message The query hasn't changed,…

thumbsup
0
message-simple
14

📣 iOS moving to Github Discussions!

Hey iOS folks! We've been using Spectrum for a while for discussions, but since Spectrum was bought by GitHub, their team has actually been doing the work on Discussions. Unfortunately, that's also meant that Spectrum itself has not had a great deal of maintenance on its own,…

thumbsup
11
message-simple
2

How to get response Header in a GraphQl request?

I am using this function to fetch the response from the server. I need to read the HEADERS value. public func perform<Mutation: GraphQLMutation>(mutation: Mutation, publishResultToStore: Bool = true, …

thumbsup
0
message-simple
0
Deleted·78d# Apollo iOS

How to get status code from fetch result?

Here is the code but I couldn’t find the way to get status code from the result.

thumbsup
0
message-simple
0

This data graph is missing a valid configuration. unreachable

this error appeared when I run the gateway service

thumbsup
0
message-simple
1

cacheKeyForObject not used

I am setting up my apollo client as in the picture below but the cacheKeyForObject is never called during any of my queries. Am I missing something obvious here?

thumbsup
0
message-simple
1