Merge pull request #1568 from westito/dao_accessor_fix

Check references only on Database
This commit is contained in:
Simon Binder 2021-11-28 18:47:44 +01:00 committed by GitHub
commit 43a0bf444d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,10 @@ class AnalyzeDartStep extends AnalyzingStep {
tableDartClasses[declaration.element] = declaredHere;
}
}
_resolveDartColumnReferences(tableDartClasses);
if (accessor is Database) {
_resolveDartColumnReferences(tableDartClasses);
}
List<MoorSchemaEntity>? availableEntities;