© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Defining a Struct for Matching Any Key in a Schema - Effect Community
EC
Effect Community
•
3y ago
•
14 replies
hagag
Defining a Struct for Matching Any Key in a Schema
Is there a way to define a struct that matches any key
?
What I
'm trying to do is create a schema for something like
{
"new-7": "V1",
"new-8": "V2"
}
{
"new-7": "V1",
"new-8": "V2"
}
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
Defining Array of Schema.Struct in a Class
EC
Effect Community / schema
2y ago
Defining a Struct Schema Type with No Context
EC
Effect Community / schema
16mo ago
Defining a Schema Struct with Known and Additional Properties
EC
Effect Community / schema
10mo ago
Defining a schema for a struct with nullable fields and transforming input
EC
Effect Community / schema
7mo ago