You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a good one. I’ve always believed that Zenstack's declarative schema is a good bridge between AI and humans. My only concern is that combining too many elements into a single schema could make it somewhat cluttered. Perhaps partial models could offer a solution to this: #1077
Is your feature request related to a problem? Please describe.
I want to centralize as much of my data model definition as possible in schema.zmodel.
The addition of typed JSON fields is absolutely amazing and could be super helpful in this regard.
However, my application extensively uses AI to generate JSON data, so it's essential for the properties to be annotated with descriptions
For this reason, even though zenstack generates zod schemas, I have to rewrite the zod schemas to add descriptions to them.
Here is an usecase / example of what would solve my problem:
and then the generated zod schemas to include those descriptions
Or perhaps for flexibility something like this could be better?
Additionally, this would be really helpful for generating openapi schemas eg when using zenstack generated zod models in trpc.
The text was updated successfully, but these errors were encountered: