© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Applying `Schema.optional` to All Fields in a Struct Schema - Effect Community
EC
Effect Community
•
2y ago
•
8 replies
youcef
Applying `Schema.optional` to All Fields in a Struct Schema
is it possible to deeply apply a property to a schema
? I want a new schema that applies
Schema.optional
Schema.optional
to every field in a Struct
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
Making Specific Fields Optional in a Schema Struct
EC
Effect Community / schema
2y ago
Making all fields in a Schema optional while keeping access to `.fields`
EC
Effect Community / schema
2y ago
Making All Fields Optional Except One in a Schema
EC
Effect Community / schema
12mo ago
Disallowing Excessive Fields in `Schema.struct`
EC
Effect Community / schema
3y ago