Skip to content

Conversation

@swinyx
Copy link
Contributor

@swinyx swinyx commented Apr 7, 2018

Validation Rules should also apply to queries, just like it is for mutations.
The server should be able to catch validation errors and return proper messages whether the request is a query or a mutation.

Validation Rules should also apply to queries, just like it is for mutations.
The server should be able to catch validation errors and return proper messages whether the request is a query or a mutation.
Copy link
Owner

@rebing rebing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps move the functions up to Field class? Since rules should also be available for other Fields (like Subscription, in the future)

@rebing rebing merged commit fa23181 into rebing:master Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants