Quick question, couldn't find an answer on Google:...
# android
e
Quick question, couldn't find an answer on Google: does Room support inline classes for fields? Like, if I wanted to store
Copy code
inline class FooId(val id: String)
data class Foo(val id: FooId)
would that work out of the box? But storing a
List<FooId>
wouldn't work without a TypeConverter, right?
Just realized it doesn't really matter, since I'll have separate Entity and regular models (as you should).