Open pdehaan opened 4 years ago
POC: https://gist.github.com/pdehaan/d9bff63120c05d6f4c4d61c62aaa9a91
https://github.com/pdehaan/updates-json-lint/blob/e01d194235f82a0c2596e7d7baf3e1e108d07883/joi-domain-lint.js#L44-L51
But this was commented out, since I don't think Joi was liking an async validate() method. Further research needed.
async
validate()
POC: https://gist.github.com/pdehaan/d9bff63120c05d6f4c4d61c62aaa9a91