hapipal / schwifty

A model layer for hapi integrating Objection ORM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to use objection v0.7's validators

devinivy opened this issue · comments

Objection is codifying the idea of "validators." This is good for us, since we're using a non-default validation library (joi!). Currently v0.7 is only in release-candidate phase, but when it comes out we'll want to make updates (shouldn't be giant!) and release the next version of schwifty. We don't know exactly how it's going to timeout in relation to the release of schwifty v1, so let's not worry about it too much.

Let's just keep an eye on this for now, https://github.com/Vincit/objection.js/releases
Validator reference, Vincit/objection.js@b553097

Sounds great! If we release first, we can have greenkeeper alert us

Though I'm not sure greenkeeper lets you know about the status of peer deps! greenkeeperio/greenkeeper#201