Skip to content

Build an adapter

You can build your own adapter to validate the data. The adapter is a function that receives a schema and returns a function that receives the data to validate and returns a set of useful functions to validate the data.