Remove client default code from schema tests again

This commit is contained in:
Simon Binder 2023-03-16 19:31:41 +01:00
parent ba86f1aa89
commit 0453988233
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 0 additions and 4 deletions

View File

@ -408,7 +408,6 @@ class SchemaReader {
final getterName = data['getter_name'] as String?;
final defaultDart = data['default_dart'] as String?;
final defaultClientDart = data['default_client_dart'] as String?;
// Note: Not including client default code because that usually depends on
// imports from the database.
@ -419,9 +418,6 @@ class SchemaReader {
nameInDart: getterName ?? ReCase(name).camelCase,
defaultArgument:
defaultDart != null ? AnnotatedDartCode([defaultDart]) : null,
clientDefaultCode: defaultClientDart != null
? AnnotatedDartCode([defaultClientDart])
: null,
declaration: _declaration,
customConstraints: customConstraints,
constraints: dslFeatures,