sum_types_generator 0.2.0 copy "sum_types_generator: ^0.2.0" to clipboard
sum_types_generator: ^0.2.0 copied to clipboard

outdated

sum_types and sum_types_generator packages together define a code generator enabling sum-types in Dart.

0.2.0 #

  • This is a major update with backward-incompatible changes!
  • Implement a new generation scheme with user-defined top-level classes. The new scheme improves interoperability with other code generators and simplifies sum-type annotations a lot.

0.1.5+1 #

  • Update README.md.

0.1.5 #

  • Support generic sum-types.
  • Restructure the example project.

0.1.4 #

  • Allow nesting sum-types (by mentioning anchors).
  • Stop using dynamic and Null as empty-case markers, use only void.

0.1.3 #

  • Support serialization-deserialization of the generated sum-types through interoperability with user-defined product-types (XRecordBase<Self>, X.dump(·), X.load(·))

0.1.2+4 #

  • Update README.md and the package description.

0.1.2+3 #

  • Attempt to not publish uncommited changes.

0.1.2+2 #

  • Extend README.md.
  • Include analysis_options.yaml.

0.1.2+1 #

  • Relax dependency constraints to improve compatibility.

0.1.2 #

  • Integrate an example into the package.

0.1.1 #

  • Include a change-log file.

0.1.0 #

  • Define the annotations for sum_types_generator.
  • Include Unit type, required by the generator.
4
likes
0
pub points
57%
popularity

Publisher

unverified uploader

sum_types and sum_types_generator packages together define a code generator enabling sum-types in Dart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, build, meta, source_gen, sum_types

More

Packages that depend on sum_types_generator