© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Suggestion for Branded Types in Schemata - Effect Community
EC
Effect Community
•
5mo ago
Malvoliosf
Suggestion for Branded Types in Schemata
Wouldn
’t it be nice if schemata like Schema
.Positive and Schema
.Trimmed returned Branded types
, with names like PositiveNumber and TrimmedString
? It would move us towards functions like
makeComponent(name: TrimmedString, width: PositiveNumber)
makeComponent(name: TrimmedString, width: PositiveNumber)
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
Are Branded Types Refined Types?
EC
Effect Community / 🚀-effect
2y ago
TypeScript Compiler Config for Branded Types
EC
Effect Community / 🚀-effect
3y ago
Suggestion for Adding Sorted Array Types
EC
Effect Community / 🚀-effect
16mo ago
Schema + constructors + domain ops pattern for branded types
EC
Effect Community / 🚀-effect
2d ago