package conformist

  1. Overview
  2. No Docs
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively

Install

Authors

Maintainers

Sources

0.2.0.tar.gz
md5=7b09116430251ed48c7d21ac878cdcc3
sha512=8f562e8b54631bdcaab803348fa491b77cef95dff82ea0a01d9d0b88d9346261103123102aacd4fb1d7ab021b4f67ee602120239e08d09507a4247ecb5bce509

Description

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.

Published: 08 Mar 2021

Dependencies (2)

  1. ocaml >= "4.08.0"
  2. dune >= "2.4"

Dev Dependencies (3)

  1. ppx_fields_conv >= "v0.14.1" & with-test
  2. ppx_deriving >= "4.5" & with-test
  3. alcotest >= "1.2.3" & with-test

Used by (2)

  1. sihl >= "0.1.5" & < "0.2.0" | >= "0.3.0~rc2" & < "0.4.0"
  2. sihl-core

Conflicts

None