RecordsModule
PackageReified.SchemaGen
The record frontend: parses F# source with the F# compiler's syntax tree (no type checking) and
lowers
[<DeriveSchema>]-marked records into the same ContractDecl AST the .contract
parser produces, so both entry points share the resolver and emitter. Attributes and literals are read
from source text; nothing runs at runtime.Operations
kind:member
kind:member
Parses a project set. Each source is parsed once; the catalogue pass resolves every contract version
across the set, then only files with a schema declaration are lowered.
Parameters
| Name | Type | Description |
|---|---|---|
| naming | SchemaNaming | |
| sources | (string * string) list |
Returns
(string * Result<ContractFile, ContractDiagnostic list>) list