mirror of https://github.com/AMT-Cheif/drift.git
Fix deprecation warning
This commit is contained in:
parent
c1a2e1ec43
commit
efb4c5f503
|
@ -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"]
|
||||
|
|
|
@ -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' &&
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue