MrNovado
MrNovado
I don't think this approach is the right way to go because: - You don't necessarily want to create a VM on top of your existing data-model - You wont...
Well, if you actually want to map to a VM, maybe you should go like this: ```kotlin @RealmProjection open class VM { @RealmField var data: Data @RealmField var children: RealmList?...
@cmelchior > The one major problem I have with re-using the model classes for projections is that a bunch of the fields in the class is then unused and it...
@stevesims `@svgr/rollup` (+ `url`) did the trick for me: https://react-svgr.com/docs/rollup/ ```js const url = require('@rollup/plugin-url'); const svgr = require('@svgr/rollup').default; module.exports = { rollup(config, options) { config.plugins = [ url(), svgr({...