zto_generator 0.1.0
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_runnerbuilder (ztoBuilder) that generates*.g.dartfrom@ZDto-annotated classes- Generates
$<Dto>Schemaconstants consumed byztofor validation - Build-time validation: incompatible validators (e.g.
@ZEmailon a numeric field) fail the build with a clear error message