Repository navigation
Release v6.34.0
A provide can now take its value from a C# file or an inline code block, and the model compiles, binds and serializes it instead of refusing the whole model.
Added
- A
providewhose value comes from a file or an inline code block is admitted into the executable semantic model as an implementation attachment, in ESM v57 (decision 0167) (part of #1307) - ESM v57 serializes a code provide with kind
codeand arequirementIdfor itsProvideValueimplementation; models without one keep their earlier ESM version, and readers below v57 refuse it (part of #1307) - Files named by a file provide are collected with the model's other attachment files (part of #1307)
- The Invoicing sample and the bundled editor sample show a module
providefrom a file and one from an inlinecsharpblock (part of #1307)
Changed
- The reference evaluator treats a code-provided value as opaque: availability gates that depend on it are treated as available, so specifications of the gated slices still run (part of #1307)