How the graphql-schema resource works
mainThe server exposes the GraphQL schema as a resource named graphql-schema. This allows clients to access the schema definition directly. The source of this resource is determined by the following priority:
- A local schema file specified via the
SCHEMAenvironment variable. - A schema file hosted at a URL specified via the
SCHEMAenvironment variable. - An introspection query performed against the
ENDPOINT.