© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Issue with S.Struct({}) and onExcessProperty - Effect Community
EC
Effect Community
•
2y ago
•
5 replies
Liam Butler-Lawrence
Issue with S.Struct({}) and onExcessProperty
S.Struct({})
S.Struct({})
doesn
't seem to respect the
onExcessProperty
onExcessProperty
setting on the decoder
: it acts as
preserve
preserve
even when
onExcessProperty
onExcessProperty
is set to
(its default of
)
ignore
ignore
. Is that intentional
?
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
Implementing Interfaces with S.Struct in TypeScript
EC
Effect Community / schema
3y ago
Issue with Generic Schema.Struct in TypeScript
EC
Effect Community / schema
2y ago
Issue with effect's `S.extend` and workaround
EC
Effect Community / schema
2y ago
Key Order Issue with `S.Struct` in JSON Parsing Using `@effect/schema`
EC
Effect Community / schema
2y ago