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

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

Apollo Link Rest with Apollo React Hooks?

Does anyone have any experience querying rest api with apollo react hooks? I'm having a hard time setting that up. Is it possible?

thumbsup
1
message-simple
0

Can't find any docs how to set cacheControl

Hi! Can't find any docs how to set cacheControl / maxAge when using only apollo-link-rest. How do I invalidate the cache?

thumbsup
0
message-simple
0

Do apollo-link-retry with apollo-link-rest work along ?

Hi there! Does anybody have experience with combining apollo-link-retry with apollo-link-rest? I would like to use both features on a future project. I assume those tools are independent and should work fine together but I would love confirmation from someone who has experienced鈥

thumbsup
0
message-simple
0

How to document this request with apollo-link-rest?

How to document this request with apollo-link-rest? curl --location --request POST "/admin-api/{{version}}/auth/login" \ --header "Content-Type: application/x-www-form-urlencoded" \ --data "email={{email}}&password={{current-password}}"

thumbsup
0
message-simple
0

Sandbox tool to run queries

Hi there! I wanted to share Hypnos, an app my team has been working on: https://github.com/oslabs-beta/hypnos/ Some features: -- Hypnos will either display the query response or detailed error messages on what went wrong with the query, whether it be the endpoint, the path, the鈥

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