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
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
I had to troll through the code to figure out that SchemaLink accepts a context in the constructor. I don't see this documented anywhere. Are any of the Link subclass constructors documented, or is the superclass constructor documented?
Intended outcome:
When I use a class that is part of the Apollo API, all of the method parameters, including the constructor, are documented
Actual outcome:
SchemaLink is not documented this way
How to reproduce the issue:
Try to use SchemaLink with an ApolloClient. Instantiate the client and run client.query() using resolvers that require context. Context is undefined because SchemaLink is not documented to accept a context.
The text was updated successfully, but these errors were encountered:
I had to troll through the code to figure out that SchemaLink accepts a context in the constructor. I don't see this documented anywhere. Are any of the Link subclass constructors documented, or is the superclass constructor documented?
Intended outcome:
When I use a class that is part of the Apollo API, all of the method parameters, including the constructor, are documented
Actual outcome:
SchemaLink is not documented this way
How to reproduce the issue:
Try to use SchemaLink with an ApolloClient. Instantiate the client and run client.query() using resolvers that require context. Context is undefined because SchemaLink is not documented to accept a context.
The text was updated successfully, but these errors were encountered: