Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 690 Bytes

schema.md

File metadata and controls

12 lines (8 loc) · 690 Bytes

Schema

Our schema, used in the Gatsby GraphQL layer, is defined under the src/schema folder. These files are then grabbed by the createSchemaCustomizationGatsby hook ingatsby-node.ts`. There are two ways to define a schema in Gatsby:

That is why you see two folders in /schema

  • src/schema/sdls for GraphQL SDL
  • src/schema/builders for Gatsby Type Builders