Expose GraphQL schema from GET endpoint
See original GitHub issueMy use case is that I’m working with a mobile developer who needs an up-to-date schema.json. I figured I could add a GET /schema
endpoint that would assume the existence of a GraphQL endpoint at /data
, then run an introspection query against that.
I’ve already added this to my own project – should I create a PR?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Retrieve a GraphQL Schema | by Mr. Thank You
Understand GraphQL types, queries, and mutations. This is a decent primer if you're just getting started with GraphQL. Intro. In this article, ...
Read more >Expose REST APIs as GraphQL - Fastly Developer Hub
GraphQL is a typed query language for APIs that allows you to fetch data for your application with rich, descriptive queries. Your API...
Read more >Get GraphQL whole schema query - Stack Overflow
The easiest way to get a GraphQL schema is using the CLI tool get-graphql-schema. You can install it via NPM: npm install -g...
Read more >4 Simple Ways to Call a GraphQL API
GraphQL IDEs let you build queries, browse schemas, and test out GraphQL APIs. ... add your localhost endpoint (Apollo Server's default is ...
Read more >GraphQL Best Practices
When designing a GraphQL schema, it's important to keep in mind all the problems that could go wrong and if "null" is an...
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
New to GraphQL myself, but that’s how it seems to me:
I’m also interested in a GET endpoint!