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
When I visit the explorer I should have an up to date schema from the API. I see errors when loading a query from the "Queries" tab however the query executes at my endpoint successful.
Actual outcome:
I have the default schema (id, __typename) - there is no way that I can reload the schema.
How to reproduce the issue:
My endpoint is at localhost:4200/api/graphql. I have a custom httpLink and webSocket link, however I have also set the URI to localhost:4200/api/graphql and connectToDevTools: true - Authentication is not required to load the schema, and I'm able to successfully load it from apollo playground (at localhost:4200/api/graphql) when not authenticated.
Desktop (please complete the following information):
Alright, so I found the "typeDefs" property on the ApolloClientOptions and I also figured out how to generate the type defs via graphql codegen - I had to make a JS version that escaped backticks (eg code examples in comments) but it's still not the most robust. I'm now able to view my schema in the explorer.
This either isn't documented anywhere or I'm completely missing something? There has to be a way that, like Apollo Playground, the extension can run an introspection query and generate the typeDefs itself?
Intended outcome:
When I visit the explorer I should have an up to date schema from the API. I see errors when loading a query from the "Queries" tab however the query executes at my endpoint successful.
Actual outcome:
I have the default schema (id, __typename) - there is no way that I can reload the schema.
How to reproduce the issue:
My endpoint is at
localhost:4200/api/graphql
. I have a custom httpLink and webSocket link, however I have also set the URI tolocalhost:4200/api/graphql
and connectToDevTools: true - Authentication is not required to load the schema, and I'm able to successfully load it from apollo playground (at localhost:4200/api/graphql) when not authenticated.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: