rest-layer icon indicating copy to clipboard operation
rest-layer copied to clipboard

Better document how to implement custom FieldValidators

Open smyrman opened this issue 7 years ago • 0 comments

As illustrated by #125, the documentation on creating custom schema validators could probably be improved somewhat in the main README.

Should cover:

  • What a Validator could get of input (rest/graphQL values or db values), and what it should return (db value)
  • What a Serializer, if implemented may get as input (db values), and what it should return (easily JSON serializable types).
  • Move the section related to support JSONSchema through custom validayors.

smyrman avatar Sep 07 '17 11:09 smyrman