question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose GraphQL schema from GET endpoint

See original GitHub issue

My 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marclarcommented, Mar 31, 2016

New to GraphQL myself, but that’s how it seems to me:

1reaction
pmuenscommented, Mar 31, 2016

I’m also interested in a GET endpoint!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found