conformistversion
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively.
It comes with runtime types for primitive OCaml types such as int
, string
, bool
and float
but also Ptime.date
, optional and custom types.
Re-use business rules in validators and run it on the client side with js_of_ocaml.
Arbitrary meta data can be stored in schemas which is useful to build functionality on top of conformist.
Author | Josef Erben |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/oxidizing/conformist |
Issue Tracker | https://github.com/oxidizing/conformist/issues |
Maintainer | josef@oxidizing.io |
Dependencies | |
Conflicts |
|
Source [http] | https://github.com/oxidizing/conformist/archive/0.5.0.tar.gz md5=4a9eed391f23b44c3b24ea0891efd8b3 sha512=1a2fa6d4c36b7cd74807a686297ee4fc3361b6c6a8e42732206a12a448ace93d91d59c56fe758a4a9bd6a1d330f91b0f7910541d671544ea6cf7630b3b26c473 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/conformist/conformist.0.5.0/opam |
Required by
- sihl>=0.4.0 & <1.0.0~rc1