© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Unexpected Empty Strings in Arbitrary for Composed Schema - Effect Community
EC
Effect Community
•
2y 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
))
S
.
compose
(
S
.NonEmpty,
S
.Trim).
pipe
(
S
.
maxLength
(
500
))
Fast check will still create empty strings
. Is this expected
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Creating Arbitrary for Inverted Schema
EC
Effect Community / schema
6mo ago
Overriding Arbitrary in Transformed Schema
EC
Effect Community / schema
3y ago
Defining Schema for Base64url Strings
EC
Effect Community / schema
2y ago
Handling JSON Strings in Schema
EC
Effect Community / schema
3y ago