Skip to content

GraphQL #58

Pinned Answered by andrea-acampora
hinogi asked this question in Q&A
Discussion options

You must be logged in to vote

@hinogi
The main advantage of this design is that we can abstract on cqrs query implementation.
This type of change will affect just the transport layer: the query handlers and command handlers remain unchanged since they operate independently of the transport layer and the domain logic, services, and repositories remain untouched because the API layer is only responsible for exposing data.
So, technically, we just need to change the REST controller with the GraphQL Resolver.

Anyway, i think i will create an example of this scenario in the repo source code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrea-acampora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants