entityfy 2.0.0 copy "entityfy: ^2.0.0" to clipboard
entityfy: ^2.0.0 copied to clipboard

A powerful Dart code generator that automatically creates toEntity() methods for seamless conversion between domain models and data layer entities using simple annotations.

2.0.0 #

Added #

  • 🎯 New @Entityfy Annotation: Unified annotation replacing multiple individual annotations
  • βš™οΈ Flexible Configuration: Boolean flags generateEntity and generateUiModel for selective generation
  • πŸ”„ Bidirectional Support: Enable generation of both Entity and UI Model classes from single source
  • πŸ“ Enhanced Documentation: Comprehensive annotation documentation with usage examples
  • πŸ›‘οΈ Compile-time Validation: Assertion ensuring at least one generation flag is enabled
  • πŸ—οΈ Architecture Support: Built specifically for Clean Architecture and multi-layer applications

Features #

  • Support for generating Entity classes with generateEntity: true
  • Support for generating UI Model classes with generateUiModel: true
  • Simultaneous generation of both types with dual flags
  • Extensive inline documentation with real-world examples
  • Type-safe annotation with sealed class implementation
  • Meta annotations for proper IDE integration and tooling support

Breaking Changes #

  • Replaced individual annotations with unified @Entityfy annotation
  • New API requires explicit boolean configuration instead of class references
  • Updated import structure for better organization

Documentation #

  • Added comprehensive usage examples for all configuration combinations
  • Included Freezed integration examples
  • Added Clean Architecture integration patterns
  • Enhanced API documentation with detailed parameter descriptions

1.0.0 #

  • Initial version.
1
likes
0
points
20
downloads

Publisher

verified publishercposadadev.com

Weekly Downloads

A powerful Dart code generator that automatically creates toEntity() methods for seamless conversion between domain models and data layer entities using simple annotations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on entityfy