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

build_runner code generator for zto — generates ZtoSchema constants and validated fromMap functions from @Dto-annotated classes.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 #

Added #

  • Initial release
  • build_runner builder (ztoBuilder) that generates *.g.dart from @ZDto-annotated classes
  • Generates $<Dto>Schema constants consumed by zto for validation
  • Build-time validation: incompatible validators (e.g. @ZEmail on a numeric field) fail the build with a clear error message
0
likes
130
points
117
downloads

Documentation

Documentation
API reference

Publisher

verified publisherartizansoftwares.com

Weekly Downloads

build_runner code generator for zto — generates ZtoSchema constants and validated fromMap functions from @Dto-annotated classes.

Homepage
Repository (GitHub)
View/report issues

Topics

#codegen #build-runner #validation #dto

License

MIT (license)

Dependencies

analyzer, build, source_gen, zto

More

Packages that depend on zto_generator