jao_generator 0.2.1
jao_generator: ^0.2.1 copied to clipboard
Code generator for jao ORM. Generates typed field accessors and model metadata.
0.2.1 - 2026-01-01 #
Added #
- Generates
_registerMetadata()method in companion class for model metadata registration - Extracts ForeignKey/OneToOneField relationship info for proper JOIN support
- Auto-registers
ModelMetadatawithModelRegistryon first Manager access
0.2.0 - 2025-12-31 #
Changed #
fromRow()generation now uses type converter functions (dbDateTime,dbBool,dbInt,dbDouble,dbDuration) instead of direct type casts- This enables cross-database compatibility where SQLite returns String/int and PostgreSQL returns native DateTime/bool types
Fixed #
- Cross-database type compatibility issue (#4)
0.1.0 - 2025-12-28 #
- Version bump to align with jao and jao_cli packages