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

Have name safe generated fields for queries

Open ganfra opened this issue 3 years ago • 1 comments

Would be nice to have something like https://github.com/cmelchior/realmfieldnameshelper, compatible with realm-kotlin, so we know at compile time something is not ok in queries with RQL.

ganfra avatar Jul 22 '22 16:07 ganfra

Hi @ganfra. Thanks for the input. We are considering various ways to provide better assistance for doing safe queries. While an IDE plugin is certainly an option we will most likely focus on building a type safe infrastructure offering support like https://github.com/realm/realm-java/blob/master/realm/realm-library/src/main/java/io/realm/RealmQuery.java though the API probably will be different.

rorbech avatar Aug 19 '22 11:08 rorbech