Automatically validate arguments in GraphQL

added by DotNetKicks
7/8/2019 4:37:45 PM

1 Kicks, 127 Views

In my last post on Exposing Validation Metadata in GraphQL I showed how we can expose validation metadata from the server to the client in order to have to only define our validation rules once. In this post I'll show how to autoamically enforce those validation rules on the server.