Home

2 comments

taylodl6 months ago
Poor schema design?<p>Here&#x27;s my take: anytime a client requires knowledge of your DB schema is a #fail. That&#x27;s an extremely brittle architecture that&#x27;s destined to provide years of problems.<p>This is why CQRS exists. Copy the contents of your database to another database that&#x27;s optimized for query and retrieval. It has the added benefit of a deluge of queries won&#x27;t impact operations utilizing the source database. Also, the source system can modify the schema all they want without impacting tens, hundreds, or thousands of clients. You can distribute it, shard it, do whatever you need to do to make it fast and efficient - all without affecting the source database.<p>That is how you solve this problem. Once you&#x27;ve done that, GraphQL just becomes one of many ways that a client can use to access the data, depending on the data management toolset you&#x27;re using.
评论 #42217649 未加载
pestatije6 months ago
well if thats the case, theres your problem: GraphQL schema design is broken
评论 #42218853 未加载