Skip to content

Commit

Permalink
Added missing conversion to RealmValue
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe committed Nov 17, 2020
1 parent eea9dd2 commit 6ff9e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Weaver/AssemblyToProcess/TestObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class AllTypesObject : RealmObject
public ObjectId ObjectIdProperty { get; set; }

public Guid GuidProperty { get; set; }

public char? NullableCharProperty { get; set; }

public byte? NullableByteProperty { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions Tests/Weaver/Realm.FakeForWeaverTests/RealmValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public struct RealmValue

public static implicit operator ObjectId?(RealmValue val) => default;

public static implicit operator Guid?(RealmValue val) => default;

public static implicit operator RealmInteger<byte>(RealmValue val) => default;

public static implicit operator RealmInteger<short>(RealmValue val) => default;
Expand Down

0 comments on commit 6ff9e15

Please sign in to comment.