| ▲ | dofm an hour ago | |
The "double declaration problem" aspect is IMO overcooked n any schema-first context. If your server side library/tooling isn't doing the job of automatically generating the majority of resolvers from the schema definition language, and handling the minority with annotations, that's a problem with the library. If you're not schema-first, I can see the issue. But then why aren't you? Code-first is a lot of extra weight to carry unless you're getting into icky meta-programming territory. (I guess on reflection what it comes down to is that I don't really see the point of GraphQL if you're not going schema-first. If you are, and you have a modestly complex API, I do.) | ||