825b5583

Author: Andreas Ländle <969523+alaendle@users.noreply.github.com>

Committer: Tom Sydney Kerckhove <syd@cs-syd.eu>

Support min/max-length bounds for strings

Add StringBounds to StringCodec to represent minimal/maximal length of a
string, checked during parsing. These map to minLength/maxLength in JSON
Schema. Bounds are inclusive.

Adds textWithBoundsCodec and stringWithBoundsCodec.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1m47s 3s 3s 1m51s 1m47s
Eval 2m57s 19s 19s 3m17s 1m06s
Build 29m44s 1m06s 11m01s 40m46s 36m25s
Suite 1m47s 1m30s 38m58s 40m46s 39m18s

Timeline

0s1m50s3m3m10s40m40m10s40m20s40m30s40m40s