GraphQL and CQRS, a Perfect Fit - Gerard Klijs, AxonIQ

Published: 20 September 2023
on channel: GraphQL Foundation Working Groups
694
3

GraphQL and CQRS, a Perfect Fit - Gerard Klijs, AxonIQ

With an CQRS architecture, the write and read model are separated. The read model is also eventually consistent. This makes it hard to implement GraphQL mutations as they are implemented usually. We can't directly return the updated entity, as that's not available in the write model? But do we need to return this, or can we get away with just returning if the mutation was successful? Are there ways we can still return the updated entity? We will dive deeper into this, and also at the consequences for queries, and subscriptions.

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. Get Started Here: https://graphql.org/


Watch video GraphQL and CQRS, a Perfect Fit - Gerard Klijs, AxonIQ online, duration hours minute second in high quality that is uploaded to the channel GraphQL Foundation Working Groups 20 September 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 694 times and liked it 3 visitors.