Skip to main content

Module model

Module model 

Source
Expand description

The language-agnostic record model: every type, field, arg, enum value, and directive in a schema flattens to one SchemaRecord. Search and output operate only on these — they never touch a parser or a transport.

Structs§

Roots
The root operation type names (Query / Mutation / Subscription), used to classify a type’s fields as root operations vs. plain object fields. Shared by the SDL and introspection loaders so that one rule lives in one place; each loader fills in whichever roots its source declares.
SchemaRecord
One searchable schema entity.

Enums§

Kind
What a SchemaRecord describes. Root operation fields get their own kinds (Query/Mutation/Subscription) so ranking can float them to the top the way rq floats top-level definitions.