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 |
|
Source [http] | https://github.com/oxidizing/conformist/releases/download/0.1.0/conformist-0.1.0.tbz sha256=497c2e055e94ac5d932940b105b0fe44c7119a1c3aa5e44691bf669aade1e002 sha512=2ccbc2df76deba393611090da4d875afc6fecd39819e41d8489c6659ef42765b3abdf47f512bd39a5da526c2e9c2002e72b48f427dd64f5b44851c8c12228b0b |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/conformist/conformist.0.1.0/opam |