From Discord: Cleanest way to attach a schema to custom types using the classic way effect
effect-bot opened this issue · comments
effect-bot commented
Summary
The user is asking for the cleanest way to attach a schema to custom types using the classic way effect. They mention that using attachProperty
is not an option because it does not accept symbols as literal values. They suggest using the string representation of the TypeId
as the key over the wire. The assistant suggests that it should be supported in every combinator just like strings.
Key takeaways:
- The user wants to attach a schema to custom types using the classic way effect.
attachProperty
does not accept symbols as literal values.- The string representation of the
TypeId
can be used as the key over the wire. - The assistant suggests that support for attaching schemas should be available in every combinator.
Discord thread
https://discord.com/channels/795981131316985866/1172828631551201330