Skip to main content

Module schema

Module schema 

Source
Expand description

Schema IR — the parsed shape of a .cstack file. Every IR node carries source-span back-pointers so consumers can map errors to positions in the original text.

Modules§

model
Model / mixin / type / enum / field IR nodes parsed out of a .cstack file. Every IR node carries SourceSpan back-pointers so consumers (parser, LSP, generators) can map errors to source positions.
procedure
Procedure / query-mutation IR nodes parsed out of a .cstack file.
selection
Field selection / include shape used by the column-projection path.
view
View IR — the view <Name> from <Model>, ... { ... } block.

Structs§

Attribute
AuthBlock
ConfigBlock
ConfigEntry
Datasource
EnumDecl
EnumVariant
Field
MixinDecl
Model
OwnedSchemaSummary
Procedure
ProcedureArg
Schema
SchemaSummary
SelectionQuery
SourceSpan
TypeDecl
TypeRef
View
ViewSource

Enums§

ProcedureKind
TransportStyle
Wire-shape the schema generates for. Picked once per schema (via the top-level transport rest|rpc directive) so generated servers and clients only carry one binding’s worth of surface.
TypeArity