Closed
Description
Let's say you have a form which posts data to API server. The API server validates the input and returns JSON object. If the input is invalid an error objects {errors: {field1: "is required"}}
is returned. How do we handle and serve these kind of errors when using GraphQL? How and where should data validation be implemented (should that be part of my GraphQL code, maybe inside each resolve function)?
Metadata
Metadata
Assignees
Labels
No labels