Over-optimization assumptions in schema design
5/10 MediumGraphQL forces developers to think about every possible query variation upfront and design schemas accordingly. Generated GraphQL APIs that auto-expose storage models violate information hiding, force business logic onto API consumers, and are hard to evolve due to tight coupling.
Sources
Collection History
if you want to change the API contract we couldn't um unless we did the database migration and the other way around if you want to change a model a field in the database which then automatically reflects into a breaking change in the API contract and our apis are exposed to our customers
Generated GraphQL APIs: Tight Coupling as a Service... works well for small projects and prototyping... lacks capabilities to design... violates information hiding... forces business logic onto API consumers... doesn't abstract away storage... is hard to evolve because of tight coupling