package conformist
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Conformist allows you to define schemas to decode, validate and sanitize input data declaratively
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
md5=7b09116430251ed48c7d21ac878cdcc3
sha512=8f562e8b54631bdcaab803348fa491b77cef95dff82ea0a01d9d0b88d9346261103123102aacd4fb1d7ab021b4f67ee602120239e08d09507a4247ecb5bce509
doc/CHANGES.html
Changelog
[0.2.0] - 2021-03-07
Changed
- A field that is
optionalcan be missing from the input data or the value can be[]. Decoding and validation will still work as expected. The decoded value isNone.
[0.1.0] - 2020-09-29
Added
Conformist.Field.type_can be used to retrieve a string representation of the type- Support for custom
encodersfor 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_leftto top level module and acceptConformist.tas input
[0.0.1] - 2020-09-20
Added
- Initial release supporting
int,float,string,bool,Ptime.dateand custom types
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page