phorm_annotations 1.0.2 copy "phorm_annotations: ^1.0.2" to clipboard
phorm_annotations: ^1.0.2 copied to clipboard

Annotation library for declarative SQL table and schema definitions in Dart. Designed to be used with code generators that produce SQL schemas, migrations, or runtime metadata.

Changelog #

1.0.2 #

  • Updated SDK environment constraint to >=3.7.0 <4.0.0

1.0.1 #

  • Changed license to MIT
  • Updated README with badges
  • Removed commented workspace resolution configuration

1.0.0 #

  • First stable release.
  • Table schema annotations: @Schema, @Column, @ID.
  • Database relationship annotations: @HasMany, @HasOne, @BelongsTo, @ManyToMany, and @Join.
  • Support for customizable naming strategies, indexes, and custom JSON serialization options.
  • Declarative CHECK validators (e.g. NotEmptyValidator, EmailValidator).
  • Support for database-independent logical types mapping.
  • Added ValueConverter<D, S> for custom Dart-to-SQL type mappings.
  • Added test and seed utilities (Factory<T> and Seeder interfaces).
1
likes
0
points
629
downloads

Publisher

verified publisherinterlib.dev

Weekly Downloads

Annotation library for declarative SQL table and schema definitions in Dart. Designed to be used with code generators that produce SQL schemas, migrations, or runtime metadata.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on phorm_annotations