<  Back to Schedule
Wednesday, Sep 2005:00 p.m. - 05:30 p.m. PDT
Room: Grand Peninsula A,B,C
Session PresentationIntermediateGraphQL and Data

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.

Gerard Klijs Profile Image
Gerard KlijsAxonIQ, Software Engineer