Open wenerme opened 1 year ago
What would title
do?
Maybe not title, how about allow attach a meta: Record<string,any> ?
ok, what would meta
do?
I want to add some schema related in meta, like $id in json schema, using zod as source of truth I want to attach meta to keep info in schema. Maybe zod should not used as general schema ?
There is already describe https://github.com/colinhacks/zod/commit/e2389b0312fb1b280a90d4bd1f10d099178aec9a , please add a title for schema, want to use like json schema , but missing title makes generate form and other ui harder.