keyed_form_core 0.1.0 copy "keyed_form_core: ^0.1.0" to clipboard
keyed_form_core: ^0.1.0 copied to clipboard

Shared vocabulary for the keyed_form family: FieldRef / StrictFieldRef / VariantRef field references over keyed_lens optics, DelegatingFieldRef, FieldErrors, and the @keyedSchema annotation.

0.1.0 #

Initial release.

  • FieldRef / StrictFieldRef / VariantRef — field-reference extension types over the keyed_lens optics, so IDE hover/autocomplete shows the field-reference vocabulary instead of the underlying optic types.
  • DelegatingFieldRef — base class the generated <X>FieldRefs wrappers extend.
  • .whenPresent() / .narrow() / .at() extensions on FieldRef.
  • FieldErrors<E> — a FieldKey-keyed sidecar map, looked up by field reference.
  • rowScopeOf — the default KeyedFormController.scopeOf: a write inside a by-id list row re-validates just that row, otherwise its top-level field.
  • @keyedSchema / KeyedSchema — the annotation keyed_form_gen reads.
1
likes
150
points
69
downloads

Documentation

API reference

Publisher

verified publisherv4g.space

Weekly Downloads

Shared vocabulary for the keyed_form family: FieldRef / StrictFieldRef / VariantRef field references over keyed_lens optics, DelegatingFieldRef, FieldErrors, and the @keyedSchema annotation.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

keyed_lens

More

Packages that depend on keyed_form_core