Remote schema SDL filed are not supported.
See original GitHub issueActual Behavior
This extension does not work with remote schemas in graphql-config. i.e. http://somedomain.com/schema.gql graphql-config supports that.
Expected Behavior
Extension should support remote schema fetching.
Steps to Reproduce the Problem Or Description
{
schema: "https://someurl.com/schema.gql",
}
Specifications
- GraphQL for VSCode Extension Version: 0.34.1
- VSCode Version: 1.63.0
- OS Name: MacOS
- OS Version: 12.0.1
- graphql config filename and format example:
{
schema: "http://someurl.com/schema.gql",
}
Logs Of TS Server || GraphQL Language Service
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Remote schema SDL filed are not supported. #2132 - GitHub
@acao yep. It works if you specify path to graphQL endpoint (actual server returning actual data). But it doesn't work for remote schemas...
Read more >Remote Schemas – GraphQL Tools
Generate GraphQL schema objects that delegate to a remote server. ... Use introspectSchema to get the non-executable schema of the remote ...
Read more >Generate GraphQL Types with Apollo Codegen Tutorial
Create a new file in the root of your project called local-schema.graphql . Here's where we'll put the types that exist locally but...
Read more >Schema Configuration - Hot Chocolate - ChilliCream
In schema stitching field renames can be defined on the gateway: ... By default, all types of remote schemas are added to the...
Read more >Developer guide · JS GraphQL IntelliJ Plugin
graphql file as SDL. See Working with GraphQL Endpoints. Project Structure and Schema Discovery. By default, the plugin assumes that your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am able to load schemas directly from a remote url. Here my example for Hasura:
.graphqlrc.yaml
Thanks for reporting! I will check it out soon