Expand description
The persister seam: a form’s write is a handler, resolved at boot from a string key on the descriptor.
Every form gets a [DefaultPersister] (the descriptor-driven single-statement
insert/update) unless it names a registered Persister, letting an entity
that needs a custom, atomic, multi-statement write (a tree’s ancestor closure,
say) plug in without a hand-written CRUD handler. A persister is a registered
domain write service, the same category as a picker source.
Structs§
- MoveTo
- A move under another parent, as
Persister::move_toreceives it. - Persister
Reg - A registered persister: its dotted
vendor.namekey and the handler.
Enums§
- Delete
Error - Why a delete failed.
- Save
Error - Why a persist failed.
Traits§
- Persister
- Replaces the default insert/update for one form. An implementor owns its own
transaction when the write is multi-statement.
recholds the validated submission plus anything the listeners added;rec.to_text_map()gives the all-text shape if that suits an implementation better.
Type Aliases§
- Persister
Registry - The persister registry, keyed by name.