You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note:
When using Enums defined inside a Class they have to be specified on the property including the Class name
class EnumEntity: Entity {
enum TestEnum: Int {
case unknown = 0
case first = 100
case second = 200
case third = 300
}
var id: Id = 0
// objectbox: convert = { "default": ".unknown" }
var custom: EnumEntity.TestEnum
}
Activity
[-]Enums embedded in Class[/-][+]Documentation: Enums embedded in Class[/+]greenrobot-team commentedon Jul 14, 2025
Thanks for reporting! I'll verify this when there is time.