3 ms·
You're thinking of code-first ORMs (to use the EF terminology), where you write classes and the tool maps them to tables and queries. These GraphQL tools, howe
by piaste 9y ago
You're thinking of code-first ORMs (to use the EF terminology), where you write classes and the tool maps them to tables and queries.
These GraphQL tools, however, act a lot like a database-first ORM, where you provide a database and the tool generates code in a different paradigm (OO for ORMs, Graph QL here). It is indeed the opposite direction, but ORMs can work that way too.
- SwellJoe 9y agoYeah, I guess GraphQL is delivering JSON "objects". Nonetheless, developing for it is a completely different experience from any other ORM I've ever poked at (not saying it's better, just very different).