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

two `.watcher().enqueueAndWatch` creating infinite refresh loop

Hi everyone! I'm requesting a list of 'posts' from my server using enqueueAndWatch and it is causing an infinite refresh loop. The two queries are below: query GetOrganizationPosts { user { organization { posts { ...post } } } } …

thumbsup
0
message-simple
2

Using okhttp client with new kotlin multiplatform runtime

Hi, I have one module that is written in kotlin multiplatform and is using new apollo-kotlin-runtime. My host app is currently on apollo v1.2.0. Q1. Can both the apollo versions(1.2.0 and 2.0.0) exist together? …

thumbsup
0
message-simple
4

Raw JSON response

Hi there.. I was wondering how to access the raw (in my case, JSON) response in a graphql query in the multiplatform library. I've set up an interceptor chain and can only seem to access the parsed/marshalled data and the raw json for the request.

thumbsup
0
message-simple
4

I must be doing something wrong..

I'm experimenting with Apollo GQL and I've converted my queries over fully. Previously I was using a simple system where I just used a java http client to send custom made POST messages to my Apollo server. I have also added in instrumentation to record the round trip of the…

thumbsup
2
message-simple
5

Custom mapping for Linked Tree Map for Kotlin models

Hi im generating kotlin models and have apollo { generateKotlinModels.set(true) …

thumbsup
0
message-simple
1

Object Oriented Responses

Thank you for creating this library. I am experimenting with using it but I'm up against a stumbling block. I have a number of queries that return essentially the same data shape. However, when I generate the java code to represent these queries (using the maven java apollo…

thumbsup
2
message-simple
15

How to get the cache size ?

I'm trying to find a way to get the cache size. Previously on versions 1.x I was able to get the cache path to get the length. What about the v2.x ?

thumbsup
0
message-simple
1

How to set name and version to the ApolloClient?

There is API for this on iOS & Web, can't see this option for Android. eg Web (TypeScript): new ApolloClient<NormalizedCacheObject>({ …

thumbsup
1
message-simple
2

Can I create a GraphQL SDL instead of using a schema.json

I'm just starting off with Apollo Android. The get started tutorial and most other tutorials have their schema as a schema.json that is a result of a GraphQL introspection. Can I forego the instrospection and make a schema.graphql file and implement it using GraphQL Definition…

thumbsup
0
message-simple
16

How to get the seesion cookie from the Apollo client?

I am getting response data from after running the query. But ned the session cookie to pass it to the webview, as they both have to be in the same session. How can I get the session cookie from the response

thumbsup
0
message-simple
9