Effect CommunityEC
Effect Community•2y ago•
3 replies
ohdearlordylord

Confusion Over Schema.NonEmpty Naming for NonEmptyString Implementation

Hey, I was looking up for implementation of NonEmptyString and realized there's Schema.NonEmpty - but what's up with its naming? "NonEmpty what"? Why isn't it NonEmptyString 🤯 ? Is it supposed to be obvious from its type (Schema<string, string, never>)?
Was this page helpful?