ManifestStateSchemas

class ManifestStateSchemas(manifest: Manifest, strategies: MaskStrategyResolver = MaskStrategyResolver.NONE) : QuerySchemaSource

The Manifest's state schemas as the query schema source (ManifestQuerySchemaSource), for each aggregate whose state schema the Manifest carries in $defs; the Gradle plugin's manifest-tools writes them. An aggregate without one, from a module built with the compiler alone, is queried by its system fields only, and a warning says so once. A model that is no aggregate of the Manifest, such as a dataset whose fields its own definition gives, has none to ask for and is not warned about (DX gap G31).

Constructors

Link copied to clipboard
constructor(manifest: Manifest, strategies: MaskStrategyResolver = MaskStrategyResolver.NONE)

Properties

Link copied to clipboard
open override val priority: Int

Functions

Link copied to clipboard

Whether the Manifest carries the state schema of type.

Link copied to clipboard
open suspend override fun load(context: QuerySchemaContext): List<QuerySchemaDeclaration>

The declarations of context's model this source holds.