Skip to content

Commit

Permalink
Make SchemaObject const constructable again (unrelated to fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Aug 1, 2024
1 parent 50dbdb7 commit 154fa13
Show file tree
Hide file tree
Showing 36 changed files with 120 additions and 112 deletions.
4 changes: 2 additions & 2 deletions packages/realm/example/lib/main.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/realm_dart/example/bin/myapp.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/realm_dart/lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ class SchemaObject extends Iterable<SchemaProperty> {
final ObjectType baseType;

/// Creates schema instance with object type and collection of object's properties.
SchemaObject(this.baseType, this.type, this.name, Iterable<SchemaProperty> properties) : _properties = List.from(properties);
const SchemaObject(this.baseType, this.type, this.name, this._properties);

@override
Iterator<SchemaProperty> get iterator => _properties.iterator;
Expand Down
4 changes: 2 additions & 2 deletions packages/realm_dart/test/backlinks_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/realm_dart/test/dynamic_realm_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions packages/realm_dart/test/geospatial_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions packages/realm_dart/test/indexed_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions packages/realm_dart/test/migration_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/realm_dart/test/realm_map_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions packages/realm_dart/test/realm_object_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/realm_dart/test/realm_set_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/realm_dart/test/realm_value_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/realm_dart/test/results_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions packages/realm_dart/test/sync_migration_test.realm.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 154fa13

Please sign in to comment.