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
Martin B
@mbonnin
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Khalil Stemmler
@khalilstemmler
Martijn Walraven
@martijnwalraven
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

Fetch XML and parse it to json

I am struggling parsing xml to json. The request is working just fint, but with my query, I am getting null. You can see my example right here https://stackoverflow.com/questions/64233956/fetch-xml-with-apollo-query-response-with-null I do think the request is working If I use…

thumbsup
0
message-simple
0

how i can set custom headers for @rest query ?

how i set custom headers use @rest directive ?

thumbsup
0
message-simple
1

Apollo Rest for SSR

Hi, i want use directive @rest on server, can i use it?

thumbsup
0
message-simple
1

404and 500 errors return nothing rather than throwing a network error

Is there any way to handle 404 and 500 error in apollo-link-error? I'm using apollo-link-rest and can't handle 404 and 500 errors. Here's the link error set up

thumbsup
0
message-simple
1

Getting full error response

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

thumbsup
2
message-simple
2

GraphQL Research

I was wondering if its possible to do subscriptions while using apollo-link-rest?

thumbsup
0
message-simple
0

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

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