diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 983770c7..3d9acd7c 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 4.0.0-beta.5 + +* Fixed `ColumnType` incorrect constructor + ## 4.0.0-beta.4 * Fixed `build.yaml` diff --git a/packages/orm/angel_orm_generator/lib/src/orm_build_context.dart b/packages/orm/angel_orm_generator/lib/src/orm_build_context.dart index b093f54f..2c2c76cd 100644 --- a/packages/orm/angel_orm_generator/lib/src/orm_build_context.dart +++ b/packages/orm/angel_orm_generator/lib/src/orm_build_context.dart @@ -402,7 +402,10 @@ class _ColumnType implements ColumnType { @override final String name; - _ColumnType(this.name); + @override + final bool hasSize; + + _ColumnType(this.name, [this.hasSize = false]); } class RelationFieldImpl extends ShimFieldImpl { diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index cc849171..b8be50c6 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm_generator -version: 4.0.0-beta.4 +version: 4.0.0-beta.5 description: Code generators for Angel3 ORM. Generates query builder classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/orm/angel_orm_generator