Replies: 1 comment 6 replies
-
Can you not just do something like this? const Foo = {
customData: {
// my custom data
},
schema: z.object( {
myProperty: z.string( {
description: 'my property description',
} )
} )
} |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it could be very useful to have the possibility to add customizable attributes in the definitions of a schema:
or something like
so they would be present in the schema
and they would be accessible from the serialized schema:
Beta Was this translation helpful? Give feedback.
All reactions