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
Hugh Willson
@hwillson
Ellen Shapiro
@designatednerd
Jesse Rosenberger
@abernix
Jake Dawkins
@jakedawkins
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Martijn Walraven
@martijnwalraven
Khalil Stemmler
@khalilstemmler
Martin B
@mbonnin
Jenn Creighton
@jenncreighton
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Adam Zionts
@zionts
Danielle Man
@daniman
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Chang Wang
@cheapsteak
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

Android multiplatform interceptor to set request header

I'm trying to create an ApolloRequestInterceptor on Android multiplatform that will set a request header (authorization). I'm not seeing any obvious way to set the header -- I thought I could get the request from the execution context but…

thumbsup
0
message-simple
4

Response fetcher deprecated

Okie I can see that response fetcher became deprecated val apolloCall = apolloClient().query(BookWithAuthorName()).responseFetcher(ApolloResponseFetchers.CACHE_FIRST) is there any updated documentation for that? …

thumbsup
0
message-simple
2

Hi, I get this error Could not resolve…

I put this in dependencies in my gradle (app) implementation 'com.apollographql.apollo:apollo-normalized-cache-sqlite:2.3.1' Thanks

thumbsup
0
message-simple
26

is there a sample project for normalized caching that shows how it works?

thumbsup
0
message-simple
2

OkHttp interceptors not working

Hi, I was trying to add OkHttp interceptors following this guide[1] but they have no effect at all. The headers or parameters added by the interceptors are no where to be found in the final call. Do we have to wrap them in ApolloInterceptors? Or is there any other settings…

thumbsup
0
message-simple
2

Will partial result (some fields fail to resolve) be cached?

When the query is fetched but returned partial result (some fields fail to resolve), would this partial result still be cached? Does it make any difference if non-optional field fails to resolve or optional field fail to resolve? (i.e. When will the result not be cached?) Do…

thumbsup
0
message-simple
1

current android apollo version but it doesn´t work

I am using Java in Android but when I uncomment the lines of the new config of apollo it shows Could not find any convention object of type JavaPluginConvention. Somebody knows how to solve it I really don´t know about the groovy but I understand it must be the same as Java. …

thumbsup
0
message-simple
9

How to dynamically include fields in a query?

Hi, I have a requirement where there are a list of fields selected by the user, which I need to query for. But I do not understand how to dynamically include these fields in the query. The selected fields would be in the form of a list of strings. I am using Java. …

thumbsup
0
message-simple
3

[Fragments] How to exclude fields from out

I have a fragment with many fields but not all fields are necessary for some queries, I need exclude that unnecessary fields.

thumbsup
0
message-simple
1

How to use Graphql-Upload in Apollo-Android

Hello, newbie to Apollo here, I'm making an Android app with a Lighthouse Laravel backend, with Graphql. I've been struggling on how to use the multipart from spec to upload an image to the server using Apollo Android.. Can anyone help me?

thumbsup
0
message-simple
1