From 2c74a1d158c88ed628796fdd51be4a33f4f6586f Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Sun, 25 Dec 2022 12:32:26 +0800 Subject: [PATCH] Fixed analyzer --- packages/orm/angel_orm_generator/CHANGELOG.md | 4 ++++ .../orm/angel_orm_generator/lib/src/orm_build_context.dart | 4 ++-- packages/orm/angel_orm_generator/pubspec.yaml | 4 ++-- packages/orm/angel_orm_test/pubspec.yaml | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 8523d920..a22453a6 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 7.1.2 + +* Fixed #88 due to change in `analyzer` 5.3.x + ## 7.1.1 * Temporily locked `analyzer` to 5.2.x to resolve undocumented breaking changes in 5.3.x. 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 34f79482..78ec5a4d 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 @@ -456,8 +456,8 @@ class RelationFieldImpl extends ShimFieldImpl { String get originalFieldName => originalField.name; - @override - PropertyAccessorElement? get getter => originalField.getter; + //@override + //PropertyAccessorElement? get getter => originalField.getter; } InterfaceType? firstModelAncestor(DartType? type) { diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index 3a256b9e..ef417d3a 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: 7.1.1 +version: 7.1.2 description: Code generators for Angel3 ORM. Generates query builder classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_generator @@ -10,7 +10,7 @@ dependencies: angel3_serialize: ^7.0.0 angel3_orm: ^7.0.0 angel3_serialize_generator: ^7.1.0 - analyzer: '>=5.2.0 <5.3.0' + analyzer: ^5.3.0 inflection3: ^0.5.3+1 build: ^2.0.1 build_config: ^1.0.0 diff --git a/packages/orm/angel_orm_test/pubspec.yaml b/packages/orm/angel_orm_test/pubspec.yaml index 094c152b..c3d1ac15 100644 --- a/packages/orm/angel_orm_test/pubspec.yaml +++ b/packages/orm/angel_orm_test/pubspec.yaml @@ -19,7 +19,7 @@ dev_dependencies: angel3_framework: ^7.0.0 build_runner: ^2.0.1 lints: ^2.0.0 -# dependency_overrides: +dependency_overrides: # angel3_container: # path: ../../container/angel_container # angel3_framework: @@ -40,5 +40,5 @@ dev_dependencies: # path: ../angel_orm # angel3_migration: # path: ../angel_migration -# angel3_orm_generator: -# path: ../angel_orm_generator + angel3_orm_generator: + path: ../angel_orm_generator