Effect CommunityEC
Effect Community2y ago
35 replies
Stephen Bluck

Unexpected Empty Strings in Arbitrary for Composed Schema

When creating an Arbitrary for a schema such as:
S.compose(S.NonEmpty, S.Trim).pipe(S.maxLength(500))

Fast check will still create empty strings. Is this expected?
Was this page helpful?