Jon P
Jon P
Any updates for when this may land?
@nirinchev and @nielsenko thanks for private properties, this has made Enum support a bit better. So the getter side is sorted, what would be the best approach be for the...
Thanks @nielsenko and good spot re #1663. Could we not do the below with the 'named route'? If not, what is blocking this? ```dart import 'package:realm/realm.dart'; part 'main.realm.dart'; // Use...
> Problem is: > > ```dart > void main() { > realm.write(() { > realm.add(Car( > type: CustomType.enabled, // )); > }); > } > ``` > > Also, you...
Appreciate the detailed answer @nielsenko. So is there a way for the below to be overcome? "The realm generator doesn't know the relation between the field _type and the property...
> @dotjon0 Not currently. We need some way of registering conversion functions so that you can use the custom type at the field level, and have the generator write the...
Thanks for this and for more context. MongoDB Atlas has supported enforcing enum values for years via [Validation Schema](https://www.mongodb.com/docs/manual/core/schema-validation/specify-json-schema/specify-allowed-field-values/) - see the MongoDB Atlas Validation Schema example below where 'type'...
_In the context of the your example in the last message:_ The requirement is that for this _Car example model: - `_type` remains a `String` in Realm DB - `type`...
Amazing, sounds perfect. Yes the web support (different issue) is top priority for us. Will look forward to hearing on enums at some point. Thanks again @nirinchev, really appreciated.
@nielsenko no longer able to replicate. Thanks for your help on this and will close.