In this case, the abstractions implemented in the application already resolve a "save" of a new entity (root aggregate) for you. Just need to add a new field in the respective mutation class.
For that, and based on "GraphQL for .NET", you will need an InputObjectGraphType<T> for the input, and an ObjectGraphType<T> for output.
Thanks, Antonio
Working now.
Hi Antonio,
Question again.
I created a service below to update, I'm still confused about how to mapper changed between
clientModel
withclient
?Hi AZMIMANSUR!
In this case, the abstractions implemented in the application already resolve a "save" of a new entity (root aggregate) for you. Just need to add a new field in the respective mutation class.
For that, and based on "GraphQL for .NET", you will need an
InputObjectGraphType<T>
for the input, and anObjectGraphType<T>
for output.Obs: Is necessary to create a new migration including the new table "Clients".