EmitterModule
PackageReified.Schema.Contracts
Emits the checked-in F# for a resolved contract file: one public record, schema, validate,
parse, and Fields module per contract, in declaration order.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| emit | Emitter.emit namespaceName fileSet file | Emits one contract file as F# source text. |
Emits one contract file as F# source text. `fileSet` is the whole resolved generation set;
it decides generated type names for references (the latest version of a name keeps the bare
name, superseded versions are suffixed, like ConfigV1).
Parameters
| Name | Type | Description |
|---|---|---|
| namespaceName | string | |
| fileSet | ContractFile list | |
| file | ContractFile |
Returns
string