The first piece of any GraphQL API is the schema, which defines what data is made available to the client.
In Vulcan, this GraphQL schema can be generated automatically from your collection’s JSON schema, so you don’t have to type things twice. Just pass a SimpleSchema-compatible JSON schema as
You can view your GraphQL schema using the Meteor shell. First, launch the shell from your terminal with:
If you need to manually add a schema, you can also do this using the
GraphQLSchema.addSchema function which will add one or more GraphQL schemas to your GraphQL API:
const customSchema = `