Updated orm generator

This commit is contained in:
thomashii 2021-07-25 21:33:33 +08:00
parent c9f8d5d479
commit 0b2fc542f8
4 changed files with 24 additions and 5 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 4.0.0
* Fixed `BuildContext` cast error
## 4.0.0-beta.5
* Fixed `ColumnType` incorrect constructor

View file

@ -12,3 +12,11 @@ Source code generators for Angel3 ORM. This package can generate:
* SQL migration scripts
For documentation about the ORM, see [Developer Guide](https://angel3-docs.dukefirehawk.com/guides/orm)
## Usage
Run the following command to generate the required `.g.dart` files for Angel3 ORM.
```bash
dart pub run build_runner build
```

View file

@ -1,5 +1,5 @@
name: angel3_orm_generator
version: 4.0.0-beta.5
version: 4.0.0
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
@ -9,7 +9,7 @@ dependencies:
analyzer: ^1.5.0
angel3_model: ^3.0.0
angel3_serialize: ^4.0.0
angel3_orm: ^4.0.0-beta.1
angel3_orm: ^4.0.0
angel3_serialize_generator: ^4.0.0
inflection3: ^0.5.3+1
build: ^2.0.1
@ -22,12 +22,12 @@ dependencies:
source_gen: ^1.0.0
collection: ^1.15.0
logging: ^1.0.0
optional: ^6.0.0
dev_dependencies:
angel3_framework: ^4.0.0
angel3_migration: ^4.0.0-beta.1
angel3_migration: ^4.0.0
#angel_test: ^1.0.0
build_runner: ^2.0.1
pedantic: ^1.11.0
postgres: ^2.3.2
test: ^1.17.3
optional: ^6.0.0

View file

@ -10,7 +10,6 @@ dependencies:
logging: ^1.0.1
pool: ^1.5.0
postgres: ^2.3.2
dev_dependencies:
angel3_pretty_logging: ^3.0.0
test: ^1.17.0
@ -20,3 +19,11 @@ dev_dependencies:
url: https://github.com/dukefirehawk/angel.git
ref: angel3
path: packages/orm/angel_orm_test
dependency_overrides:
angel3_orm_test:
path: ../angel_orm_test
angel3_orm:
path: ../angel_orm
angel3_migration:
path: ../angel_migration