ryardley / pdsl

The expressive declarative toolkit for composing predicates in TypeScript or JavaScript
https://pdsl.site
MIT License
69 stars 2 forks source link

Update docs and examples #121

Closed ryardley closed 4 years ago

ryardley commented 4 years ago

Closes #110

This also brings in arrow syntax for validations.

p.schema()`{  name <- "Name must exist on this object" }`.validateSync({hello:'hello'})
codecov-io commented 4 years ago

Codecov Report

Merging #121 into master will not change coverage by %. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #121   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          632       632           
  Branches        79        79           
=========================================
  Hits           632       632           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ac7b239...90e418f. Read the comment docs.