We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Remote schemas docs we have an example for using node-fetch:
node-fetch
import fetch from 'node-fetch'; import { print } from 'graphql': const fetcher = async ({ query: queryDocument, variables, operationName, context }) => { const query = print(queryDocument); const fetchResult = await fetch('http://api.githunt.com/graphql', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ query, variables, operationName }) }); return fetchResult.json(); }; export default async () => { const schema = makeRemoteExecutableSchema({ schema: await introspectSchema(fetcher), fetcher, }); return schema }
Line 2 ends with : and doesn't work.
:
The text was updated successfully, but these errors were encountered:
Issue ardatan#1127: Fix unexpected colon in two examples
4861eb1
Issue ardatan#1127: Add changelog record
d787950
Folding into #1316
Sorry, something went wrong.
No branches or pull requests
On Remote schemas docs we have an example for using
node-fetch
:Line 2 ends with
:
and doesn't work.The text was updated successfully, but these errors were encountered: