© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Matching on a Branded Type in a Union - Effect Community
EC
Effect Community
•
2y ago
alakasam
Matching on a Branded Type in a Union
Hello
! Does anyone know how to match on a branded type
? I have a set of schemas where I can
't just use a tag
, so I have to use a brand
. But I unioned them and now I can
't seem to get them apart
. Any help
?
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
Simplifying Union Type Matching in TypeScript
EC
Effect Community / 🚀-effect
17mo ago
Seeking Pattern Matching Solution for Union Type in TypeScript
EC
Effect Community / 🚀-effect
2y ago
Pattern Matching Discriminated Union
EC
Effect Community / 🚀-effect
2y ago
Pattern Matching on Discriminated Unions Without `_tag` Discriminator
EC
Effect Community / 🚀-effect
2y ago