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.t
, option
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.8.0.tar.gz md5=a428f6d935fdb92aa0a8dfebf1ddbf2e sha512=e61ba1a6c746b84e2f3df700de68869eba26433de3b6c428f0b97174d0781dac8c5ff107793506f68cf4aff2b947f11e116c5721d5ad75c3677bf98f249ac41e |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/conformist/conformist.0.8.0/opam |
Required by
- sihl>=1.0.0~rc1