You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input/output functions are used for object manipulation and casting. I think Joi would not be the best choice here.
The validation function is currently only used in the tests to verify the responses, it is not used by the application itself. Perhaps it’s generally in the wrong place and it would be better to move it to the tests.
jotaen
changed the title
Use Joi in app/schema.js
Refactor app/schema.js
Apr 29, 2016
There are a lot of type checks etc. in https://github.com/jotaen/j4n.io/blob/master/app/schema.js
Could it help to use Joi there?
The text was updated successfully, but these errors were encountered: