-
Type: Bug
-
Resolution: Incomplete
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
What happened?
Just started to get an exception
System.ArgumentException: The class TripModel is not in the limited set of classes for this realm (Parameter 'T')
using Realms; namespace CTeleport.Mobile.Core.RealmStore.Trips; public class TripModel: RealmObject { public TripModel() { } [Indexed] public DateTimeOffset EndingDate { get; set; } [Indexed] public DateTimeOffset CreatedAt { get; set; } [Indexed] public DateTimeOffset UpdatedAt { get; set; } [PrimaryKey] public string Id { get; set; } public string TravelerName { get; set; } public IList<BookingModel> Bookings { get; } }
Repro steps
- RealmInstance.All<TripModel>().Count();
- System.ArgumentException: The class TripModel is not in the limited set of classes for this realm (Parameter 'T')
Version
.NET 8
What Atlas Services are you using?
Local Database only
What type of application is this?
Xamarin
Client OS and version
iOS simulator 17.2 Realm 12.2
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response