Fix deprecation warning

This commit is contained in:
Simon Binder 2022-07-23 23:19:54 +02:00
parent c1a2e1ec43
commit efb4c5f503
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ builders:
drift_dev:
import: "package:drift_dev/integrations/build.dart"
builder_factories: ["driftBuilder"]
build_extensions: {".dart": [".moor.g.part"]}
build_extensions: {".dart": [".drift.g.part"]}
auto_apply: dependents
build_to: cache
required_inputs: [".dart_in_drift"]

View File

@ -350,7 +350,7 @@ class _DataClassInformation {
extension on Element {
bool get isFromDefaultTable {
final parent = enclosingElement;
final parent = enclosingElement2;
return parent is ClassElement &&
parent.name == 'Table' &&

View File

@ -30,7 +30,7 @@ dependencies:
sqlparser: ^0.22.0
# Dart analysis
analyzer: "^4.1.0"
analyzer: "^4.3.0"
analyzer_plugin: ^0.11.0
source_span: ^1.5.5
package_config: ^2.0.0