Skip to main content

passnote_generator 1.1.0 copy "passnote_generator: ^1.1.0" to clipboard
passnote_generator: ^1.1.0 copied to clipboard

Code generator for Passnote document models: one @Document annotation yields the codec, the document-id extractor, and the per-field CRDT schema.

Changelog #

1.1.0 #

  • No changes of its own; released with the 1.1.0 security release of the other packages, which it now requires. See the repository CHANGELOG.md.

1.0.0 #

First release.

  • @Document() on a model class generates its Codec (_$XCodec), its per-field CRDT schema (_$XSchema), and a const SchemaMergeStrategy (_$XMergeStrategy) into the shared .g.dart part file.
  • @DocumentId() marks the id field; @Crdt(PnCounter()) and @Crdt(OrSet()) declare per-field merge behaviour; nested paths use dotted field names.
  • Runs under build_runner; drift between the model and the generated file fails the build.
0
likes
0
points
232
downloads

Publisher

verified publishernodsoftware.net

Weekly Downloads

Code generator for Passnote document models: one @Document annotation yields the codec, the document-id extractor, and the per-field CRDT schema.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, passnote, source_gen

More

Packages that depend on passnote_generator