
Interview With Nate Barbettini: OAuth, GraphQL, Event Sourcing
The Loosely Coupled Show
00:00
GraphQL: A New Approach to Querying
The way that GraphQL kind of models it out is you have the client can basically describe any query they want. They can also nest like really far into some object graph if they want to. On the server side the way the server kind of rationalizes all of that is through what are called resolvers which is pretty much analogous to what you would think of as an API controller in like a REST API. So that in our API that ends up being a each one of those resolvers effectively delegates to a different CQRS query object which are then sent through the CQRS pipeline again.
Transcript
Play full episode