gql
gql copied to clipboard
Custom Input validation
type InputValidator interface {
Valid(v interface{}) bool
}
If the Argument or the InputField implements the InputValidator interface, run the Valid(..) function before execution.