|
|
|
|
|
by barumi
2048 days ago
|
|
> Most of the time your APIs will reflect your database associations `{ users { posts { comments } } }` which should be indexed anyway. That's not exposing database associations. At most that's exposing aspects of the domain model which are also reflected in the persistence model. |
|
As best I can tell from my limited experience, GraphQL is just exposing the bones of your relational schema without giving it much domain behavior. It's the software equivalent of offering a grocery store full of ingredients when all the hungry person wants is a sandwich.