menu
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 Platform
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

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

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
0
message-simple
0

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

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
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
4

Query Param in response?

Is it possible to pass a query parameter to the response? So that I can use it in the InMemoryCache dataIdFromObject key resolver.

thumbsup
0
message-simple
0