Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Releases: i-am-tom/schemer

Custom Predicates and `renameMany`

05 Oct 20:29
Compare
Choose a tag to compare

In order to impress @imjoehaines, a couple of functions have been added to better accommodate some custom use cases. Custom predicates can now be added via the must/should methods (for fatal and non-fatal predicates, respectively) in the ValidatorAbstract, and keys can now be renamed en masse using the renameMany function within the Assoc formatter.

Formatters

15 Aug 07:27
Compare
Choose a tag to compare

The library now has two component parts: the validators and the formatters. The validators haven't changed, although their root is now Schemer\Validator. The formatters work from Schemer\Formatter, and are documented in the README. If you have any questions, feel free to ask in the issues, and documentation will be updated :)

Initial Release

27 Jul 15:08
Compare
Choose a tag to compare

The repository has 100% code coverage, and is documented. At this point, the most likely thing to change drastically is the documentation.