© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Customizing a property's value based on another in schema generation - Effect Community
EC
Effect Community
•
12mo ago
wesp
Customizing a property's value based on another in schema generation
With arbitrary schema generation
, is it possible to customize a property
's value based on another value
? For example
, say I have an
Account
Account
schema with
amountDue
amountDue
,
amountPaid
amountPaid
, and
balance
balance
. Ideally
, I could get the
amountDue
amountDue
and
amountPaid
amountPaid
and calculate the
balance
balance
so the fake data is correct
.
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
Conditionally Run Schema Based on Property Value
EC
Effect Community / schema
9mo ago
Conditional Required Fields Based on Another Property
EC
Effect Community / schema
16mo ago
Adding a property based on another property while decoding, without removing the original propert...
EC
Effect Community / schema
15mo ago
Adding `schema` to `propertyOrder` for Schema-Based Property Ordering
EC
Effect Community / schema
2y ago