Search
Star
1.4k
Feedback
Setup for Free
EC
Effect Community
•
2y ago
Zanza00
Zod Enum Configuration
How can I have a config value that can only be three values
, like enum from zod
:
z.enum(["prod", "test", "dev"])
z.enum(["prod", "test", "dev"])
Effect Community
Join
Production-grade applications in TypeScript.
5,916
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
z.enum(["prod", "test", "dev"])
z.enum(["prod", "test", "dev"])
No replies yet
Be the first to reply to this message
Join
Similar Threads
Using an Enum as a Configuration Value in TypeScript
EC
Effect Community / effect-beginners-🚀
13mo ago
Alternative to zod's `z.enum` for common use case
EC
Effect Community / schema
3y ago
Providing configuration for tests
EC
Effect Community / help-forum
6mo ago
Implementing String Enum Validation in TypeScript
EC
Effect Community / typescript⎬
3y ago