package conformist

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

Install

Dune Dependency

Authors

Maintainers

Sources

conformist-0.1.0.tbz
sha256=497c2e055e94ac5d932940b105b0fe44c7119a1c3aa5e44691bf669aade1e002
sha512=2ccbc2df76deba393611090da4d875afc6fecd39819e41d8489c6659ef42765b3abdf47f512bd39a5da526c2e9c2002e72b48f427dd64f5b44851c8c12228b0b

CHANGES.md.html

Changelog

[0.1.0] - 2020-09-29

Added

  • Conformist.Field.type_ can be used to retrieve a string representation of the type

  • Support for custom encoders for custom types

  • Support for encoding default values if present, this can be used to print schemas

Fixed

  • Move mandatory field name parameter to the end of create functions in order to get rid of the trailing () argument

[0.0.2] - 2020-09-29

Fixed

  • Move fold_left to top level module and accept Conformist.t as input

[0.0.1] - 2020-09-20

Added

  • Initial release supporting int, float, string, bool, Ptime.date and custom types

OCaml

Innovation. Community. Security.