v0.0.12
·
243 commits
to master
since this release
Features
- #10: add
@Lazy()decorator, for lazily evaluated schemas. This accepts a function that returns a Joi schema. If you want to use a schema class, you must pass the class togetJoiSchema().
Fixes
- #11:
@ObjectSchema()can now be applied to properties with a class instance type. - #16:
@AnySchema()could only be applied tonumberproperties! D'oh. - #28:
@Concat()and@Empty()decorators were not correctly using the passed in schema.
Tech
- Add yarn.lock file.
- Update TypeScript to v3.4.5
- #12: CircleCI tests are running again.