Updated analyzer

This commit is contained in:
thomashii 2022-05-28 01:09:09 +08:00
parent d28930d3c1
commit 1f3dc36604
5 changed files with 17 additions and 8 deletions

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 6.1.0
* Updated to `analyzer` 4.x.x
## 6.0.1 ## 6.0.1
* Fixed timestamp or date field to DateTime mapping * Fixed timestamp or date field to DateTime mapping

View file

@ -426,9 +426,10 @@ class _ColumnType implements ColumnType {
final String name; final String name;
@override @override
final bool hasSize; final bool hasSize = false;
_ColumnType(this.name, [this.hasSize = false]); //_ColumnType(this.name, [this.hasSize = false]);
_ColumnType(this.name);
} }
class RelationFieldImpl extends ShimFieldImpl { class RelationFieldImpl extends ShimFieldImpl {

View file

@ -10,7 +10,7 @@ dependencies:
angel3_serialize: ^6.0.0 angel3_serialize: ^6.0.0
angel3_orm: ^6.0.0 angel3_orm: ^6.0.0
angel3_serialize_generator: ^6.0.0 angel3_serialize_generator: ^6.0.0
analyzer: ^3.0.0 analyzer: ^4.0.0
inflection3: ^0.5.3+1 inflection3: ^0.5.3+1
build: ^2.0.1 build: ^2.0.1
build_config: ^1.0.0 build_config: ^1.0.0
@ -30,7 +30,7 @@ dev_dependencies:
postgres: ^2.4.0 postgres: ^2.4.0
test: ^1.21.0 test: ^1.21.0
lints: ^1.0.0 lints: ^1.0.0
# dependency_overrides: dependency_overrides:
# angel3_container: # angel3_container:
# path: ../../container/angel_container # path: ../../container/angel_container
# angel3_framework: # angel3_framework:
@ -45,8 +45,8 @@ dev_dependencies:
# path: ../../mock_request # path: ../../mock_request
# angel3_serialize: # angel3_serialize:
# path: ../../serialize/angel_serialize # path: ../../serialize/angel_serialize
# angel3_serialize_generator: angel3_serialize_generator:
# path: ../../serialize/angel_serialize_generator path: ../../serialize/angel_serialize_generator
# angel3_orm: # angel3_orm:
# path: ../angel_orm # path: ../angel_orm
# angel3_migration: # angel3_migration:

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 6.1.0
* Updated to `analyzer` 4.x.x
## 6.0.0 ## 6.0.0
* Updated to SDK 2.16.x * Updated to SDK 2.16.x

View file

@ -1,12 +1,12 @@
name: angel3_serialize_generator name: angel3_serialize_generator
version: 6.0.0 version: 6.1.0
description: Angel3 model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling. description: Angel3 model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize_generator repository: https://github.com/dukefirehawk/angel/tree/master/packages/serialize/angel_serialize_generator
environment: environment:
sdk: '>=2.16.0 <3.0.0' sdk: '>=2.16.0 <3.0.0'
dependencies: dependencies:
analyzer: ^3.0.0 analyzer: ^4.1.0
angel3_model: ^6.0.0 angel3_model: ^6.0.0
angel3_serialize: ^6.0.0 angel3_serialize: ^6.0.0
belatuk_code_buffer: ^3.0.0 belatuk_code_buffer: ^3.0.0