Skip to content

Commit

Permalink
chore: Bump analyzer version to ^4.3.0 to remove the usage of depreca…
Browse files Browse the repository at this point in the history
…ted feature (#9214)
  • Loading branch information
rrousselGit committed Jul 25, 2022
1 parent f2d791a commit 82941a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ bool isValidatorAnnotation(ElementAnnotation annotation) {
final element = annotation.element;
if (element == null || element is! ConstructorElement) return false;

return element.enclosingElement.allSupertypes.any((superType) {
return element.enclosingElement2.allSupertypes.any((superType) {
return superType.element.name == 'Validator' &&
superType.element.librarySource.uri.toString() ==
'package:cloud_firestore_odm/src/validator.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
sdk: ">=2.16.0 <3.0.0"

dependencies:
analyzer: ">=2.0.0 <5.0.0"
analyzer: ^4.3.0
build: ^2.0.1
build_config: ^1.0.0
cloud_firestore_odm: ^1.0.0-dev.23
Expand Down

0 comments on commit 82941a9

Please sign in to comment.