Skip to content
Discussion options

You must be logged in to vote

Hi @hobbsh!

Apart from cloning the repo or using relative pathing, there are many ways to fetch the schema with codegen:

  1. another obvious solution is to point directly to your server URL so that codegen can perform an introspection query
  2. however, if you disabled introspection in production (or staging), you can also use a Schema Registry that will host it for you. Aside from codegen, we are also maintaining dozen of other GraphQL projects, including an open-source Schema Registry service: GraphQL Hive. The free tier is sufficient for most users, and you can also host it yourself.
  3. You can also pass a Github URL of the schema file along with some authentication headers (that would need to b…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hobbsh
Comment options

@charlypoly
Comment options

@hobbsh
Comment options

@charlypoly
Comment options

@hobbsh
Comment options

Answer selected by charlypoly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants