realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Enum type support without extra configuration

Open jakobkmar opened this issue 3 years ago • 4 comments

Apart from the planned type adapters, could enums be a generally supported type (by saving their name as a string)?

jakobkmar avatar May 08 '22 15:05 jakobkmar

Yes, this should be possible to add to our internal type adapters. We will try to add this.

rorbech avatar May 17 '22 14:05 rorbech

Can anyone provide an example of how to do this currently? I have looked at some of the realm-java examples and tried to convert them to kotlin but I have had no success.

shaqaruden avatar Aug 29 '22 12:08 shaqaruden

Would love to have this feature soon!

mohit-sharma-87 avatar Jan 31 '23 16:01 mohit-sharma-87

What is the status of the internal type adapter for enums?

sirambd avatar Nov 02 '23 10:11 sirambd