I recently learned about the event sourcing pattern while working on a ruby api and as I was learning it I was able to draw a neat little graphic that helped me learn. Here it is and I hope you it helps you.
Does the GraphQL, Command Bus, and Command Handler are in the same project? Or GraphQL, in your case, is more like a BFF (separate project) that integrate with the Aggregate Root microservice through a message broker (message bus)?
In this project they were in the same project. This was just one of a bunch of microservices that our team manages. We implemented a graphql federation that helped with a lot of developing with graphql.
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (2)
Hi Brian!
Does the GraphQL, Command Bus, and Command Handler are in the same project? Or GraphQL, in your case, is more like a BFF (separate project) that integrate with the Aggregate Root microservice through a message broker (message bus)?
In this project they were in the same project. This was just one of a bunch of microservices that our team manages. We implemented a graphql federation that helped with a lot of developing with graphql.