Effect CommunityEC
Effect Community2y ago
4 replies
Stephen Bluck

Updating Schema.NumberFromString After Schema.message Removal

We used to be able to do this:
const Age = Schema.NumberFromString.pipe(Schema.message(() => "Invalid age"))

Looks like Schema.message got removed. How do I update this? I couldn't find anything in the docs or changelog.
Was this page helpful?