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
Martin B
@mbonnin
Jake Dawkins
@jakedawkins
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
Danielle Man
@daniman
Adam Zionts
@zionts
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Chang Wang
@cheapsteak
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Claire Hough
@clairehough
David Glasser
@glasser
Fran莽ois Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

How do I access response headers while using useQuery?

I noticed this question has been asked before and is unanswered: https://stackoverflow.com/questions/64791676/how-to-access-response-headers-with-apollo-link-rest Re-posting this query to get a fresh set of eyes at it. Any leads on how to do this are appreciated.

thumbsup
0
message-simple
0

How to specify query for nested REST response [GraphQL error]: Message:鈥

Hello I am trying to query a REST API which returns a nested array of itself. I am getting this message: [GraphQL error]: Message: Expected Iterable, but did not find one for field "Query.nodes"., Location: [object Object], Path: nodes 鈥

thumbsup
0
message-simple
0

Which version onwards Apollo client support apollo-link-rest ?

thumbsup
0
message-simple
0

Fetching GraphQL and REST API together

Is there any way to fetch GraphQL and REST API together ? The problem is that I have two different APIs. One is a GraphQL API and another one is a REST API

thumbsup
1
message-simple
5

how i can set custom headers for @rest query ?

how i set custom headers use @rest directive ?

thumbsup
0
message-simple
2

Shaped Response with "bracket notation" as dynamic key

I have a response of an array of user objects, and I would like to shape the data so that it turns to an object where the main key is the value of user Id. Currently I am handling this after the useQuery query resolves with my data. In typical javascript, you can use bracket鈥

thumbsup
0
message-simple
0

Batching request

Hi guys, need some help ! Is there any chance of batch requests using apollo-link rest ? thx in advance

thumbsup
0
message-simple
0

MockedProvider is not working for me. I'm not getting the mockResponse.

const component = renderer.create( <MockedProvider mocks={[ClientNotificationsApiQueryMock]} addTypename={false}> <NotificationBrowser2 sandbox={sandbox} /> 鈥

thumbsup
0
message-simple
0

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

Apollo Rest for SSR

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

thumbsup
0
message-simple
1