You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API doc for the graphql() function says it returns Promise<GraphQLResult>. But GraphQLResult is not defined, and does not exist in the code base AFAICT.
Motivation
Completeness, accuracy.
The text was updated successfully, but these errors were encountered:
Good catch. ExecutionResult is what is returned. Docs for graphql-js are outdated on this site as well as in graphql-js/docs. We are currently migrating to TypeScript. Generating docs (using ts docs or other tools) and providing more examples is next task in v16 release plan
Description
The API doc for the graphql() function says it returns
Promise<GraphQLResult>
. But GraphQLResult is not defined, and does not exist in the code base AFAICT.Motivation
Completeness, accuracy.
The text was updated successfully, but these errors were encountered: