Expand description
flower-core’s own constraint vocabulary, plugged into fig-schema’s generic rule engine.
fig-schema’s fig_schema::FieldRule/fig_schema::Schema are generic
over the constraint type; this module supplies flower’s: a controlled
vocabulary (Constraint::Enum) or a link field
(Constraint::Reference, where spanning lives — the discovery
backbone). flower-core never learns the word “prov”: an embedder (a prov
adapter, a $schema detector, …) builds a Schema and supplies it —
either through Backend::schema or by injecting
it into the Model, the same way managed keys arrive today.
Enums§
- Constraint
- A value constraint on a field.
Traits§
- Field
Rule Ext - Convenience accessors for a flower
FieldRule, mirroring what used to be inherent methods beforefig_schema::FieldRulebecame generic. A local trait, since inherent impls can’t be added to a foreign generic type.
Type Aliases§
- Field
Rule - flower’s field rule and schema, with flower’s own
Constraintplugged into fig-schema’s generic engine. - Schema