rigglo/gql

Custom Input validation

Opened this issue · 0 comments

type InputValidator interface {
   Valid(v interface{}) bool
}

If the Argument or the InputField implements the InputValidator interface, run the Valid(..) function before execution.