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.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.

Published: 05 Apr 2022

Dependencies (6)

  1. odoc with-doc
  2. sexplib >= "v0.13.0" & with-test
  3. alcotest >= "1.2.3" & with-test
  4. ptime >= "0.8.5"
  5. ocaml >= "4.08.0"
  6. dune >= "2.7"

Reverse Dependencies (2)

  1. guardian < "0.0.5"
  2. sihl >= "1.0.0~rc1"

Conflicts (1)

  1. result < "1.5"
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively

Install

Authors

Maintainers

Sources

0.8.1.tar.gz
md5=28b7ee03002c0cf14c94209d86c17b9c
sha512=b06a1a72395ded0f8751bf6d123753e48a3853b4b3ab0263de39264eb3670a16c4f54d4f0be2f23a05223d63fc76452311bb444b3dbd1cf1a68eb713a4a998f6