dwyl / abase

:house: A (solid) Base for your Web Application.
9 stars 0 forks source link

Create Joi Schema from our config and fields for a page #45

Open jrans opened 7 years ago

jrans commented 7 years ago

Using our field config object and a given list of field names for a page (with options to add more requirements on a page by page basis) create a joi schema to be used by hapi to validate our requests