ORMs are fine on the server where you have threads...
# android
j
ORMs are fine on the server where you have threads you can block
o
(mumbles something about coroutines)
j
Maybe a better expression of this thought is that ORMs are better suited to where you can wait for additional relational data (blocking or not).
o
I was trying to build a SQL-to-viewmodel solution (#squash), where a mapping + query is translated into set of queries for specific data (we call it “graph fetching”), and then mapped to some typed data (interfaces). Unfortunately, I don’t have much time lately to work on it and make it suspendable instead of blocking.
c
that sounds good.. the other problem with ORMs is that they make your models dumber, which should be reason enough to never use them, dumb models do more long term harm than most things..