How to download schema in SDL format?
See original GitHub issueHey guys!
We are using graphQL schema in SDL format at our client side. I tried to download schema from the registry using apollo client:download-schema output.graphql
but it looks like its downloading it in JSON
format. I know we can convert it using printSchema
function from graphql
library but I was wondering is there already a way or flag which I can use to directly download it in SDL
format?
If not, I will be happy to create a PR to add this feature, may be add another flag i.e. --sdl
to download it in SDL
format.
Thanks in anticipation
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Downloading a schema - Apollo GraphQL Docs
It supports downloading a schema and generating code. You can use the Apollo CLI to download a GraphQL schema by sending an introspection...
Read more >Get GraphQL Schema as a file (SDL schema file)
The GraphQL query language has its own schema definition based on a format called "SDL". This SDL format file can be downloaded via...
Read more >Download GraphQL Schema From a GraphQL Server - YouTube
Download schema apollo schema : download --endpoint={GraphQL endpoint} 2. ... graphql-introspection-json-to- sdl schema.json schema.graphql ...
Read more >How-to get SDL schema file for HOPEX graphQL REST API
In this how-to video you will learn how to get the the SDL file to use in postman or other tool that can...
Read more >Exporting the Hasura GraphQL schema
Export the GraphQL schema in Hasura. ... By default, it downloads the schema in .graphql format. If you want it in JSON format,...
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 Free
Top 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
Looks like isn’t released yet.
Closing this thread as the feature has been added & expected to be released soon 🎉