Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Sep 26, 2022
1 parent e6f0065 commit 81beb39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
9 changes: 0 additions & 9 deletions generator/test/good_test_data/all_types.expected
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,6 @@ class Bar extends _Bar
set anOptionalString(String? value) =>
_anOptionalStringProperty.setValue(this, value);

static const _objectIdProperty = ValueProperty<ObjectId>(
'objectId',
RealmPropertyType.objectid,
);
@override
ObjectId get objectId => _objectIdProperty.getValue(this);
@override
set objectId(ObjectId value) => _objectIdProperty.setValue(this, value);

static const schema = SchemaObject<Bar>(
Bar._,
'Bar',
Expand Down
8 changes: 3 additions & 5 deletions generator/test/good_test_data/indexable_types.expected
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
// RealmObjectGenerator
// **************************************************************************

class Indexable extends _Indexable with RealmEntityMixin, RealmObjectMixin {
class Indexable extends _Indexable
with RealmEntityMixin, RealmObjectMixin<Indexable>
implements RealmObject<Indexable> {
Indexable(
bool aBool,
int anInt,
Expand Down Expand Up @@ -158,10 +160,6 @@ class Indexable extends _Indexable with RealmEntityMixin, RealmObjectMixin {
set aNullableDateTime(DateTime? value) =>
_aNullableDateTimeProperty.setValue(this, value);

@override
Stream<RealmObjectChanges<Indexable>> get changes =>
RealmObjectMixin.getChanges(this);

static const schema = SchemaObject<Indexable>(
Indexable._,
'Indexable',
Expand Down

0 comments on commit 81beb39

Please sign in to comment.