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
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Martin B
@mbonnin
Adam Zionts
@zionts
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Danielle Man
@daniman
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
Jenn Creighton
@jenncreighton
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

404 error handling with apollo-link-rest

I'm using apollo-link-rest for calling REST endpoint. But it throws null when endpoint returns 404 error instead of error. Can anyone help me please? Here's my apollo client setup code when I'm calling query from component and API endpoint returns 404 then it returns response…

thumbsup
1
message-simple
2

query with a response where are dynamic object keys

I'm requesting a Salesforce schema data. It has a format So, fields are dynamic. In queries.js I'm trying to describe it …

thumbsup
0
message-simple
0

Getting full error response

Is there a way to get the full error response from a REST mutation? The server returns: { "statusCode": 400, …

thumbsup
1
message-simple
1

Passing context data through mutation

I'm using apollo-link-rest. Is there a way I can pass data through the mutation? So I have some context data when I call the mutation, and I want to access it in the onCompleted handler?

thumbsup
0
message-simple
3

Resolving an Array of IDs

Say I have some query Now, the REST response from /parent, looks like What I want is to get those lists of IDs and query for them each …

thumbsup
0
message-simple
0

how to use `@rest` with `MockedProvider`?

Is there any way to test React Components using queries containing @rest?

thumbsup
1
message-simple
1

vscode error message on apollo-link-rest query

vscode gets cranky when I try to use link-rest queries :(

thumbsup
0
message-simple
1

Using Apollo link rest with local state management

Does anyone use apollo-link-rest combine with apollo-link-state to handle local state management? I want to ask how do I implement the following flow : 1. query user data => check local store data => if not, fetch from rest endpoint …

thumbsup
1
message-simple
1

Graphql @rest and @export response issuee

Hello, I opened a stack overflow question with more details and code snippets here: https://stackoverflow.com/questions/59340428/graphql-rest-nested-call-not-showing-both-results But essentially I am trying to use a combination of @rest and @export directive to get the…

thumbsup
0
message-simple
0

Detailed Example

Can anyone here provide full fledge example of caching and state management using rest api...

thumbsup
0
message-simple
0