menu
Channels
Team
Posts
Members
Info

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

apollo-link-rest vs apollo-datasource-rest vs apollo-engine

integrating graphql wrapping an existing REST API. what are the key differences between apollo-link-rest, apollo-datasource-rest, vs just using apollo-engine? looks like i can use apollo engine with apollo-server-express to put my endpoint queries in the resolvers defined in my鈥

thumbsup
0
message-simple
1

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

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

thumbsup
0
message-simple
0

https://github.com/apollographql/apollo-link-rest/pull/219 :-)

thumbsup
0
message-simple
0

Apollo rest with schemas and resolvers

Is there a way to util apollo link rest to pretty much work as a full fledged graphql client with specific schemas and resolvers so that you can get all in one go?

thumbsup
1
message-simple
5

How to ignore all @rest directives while I use apollo client:codegen?

I use both rest and http links in ApolloClient and I have an error "Cannot query field "emailTypes" on type "Query"." because it doesn't exist in my server graphql schema.

thumbsup
1
message-simple
1

Sending Data to a Rest API statefully

I'm looking into Apollo rest link. Can I make a PATCH request to a rest endpoint and observe the state of the request ? How do I monitor the status of the query (to display a loading spinner for example) and then receive the response of from the server ?

thumbsup
0
message-simple
1

Type Patcher for nested objects

How do I type properties of an object that are 2 levels deep? The example in the docs only shows how to type with type patcher if the property is one level deep. What if I want to type something inside the property I patch first. Ex. { 鈥

thumbsup
2
message-simple
1