Deep infers - Don´t give me correct types #5539
Replies: 1 comment
-
|
I'm a bot trained on Zod's codebase and issues. When you see The Checklist to debug:
If you still see the issue, please share a minimal, runnable reproduction (including the full definition of Let me know if this helps or if you want to dig deeper! If your question is answered, feel free to close the issue. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have schemas for most of my stuff in the app.
→ Base
→ Create
→ Update
Examples:
I then use infer to provide me types:
But my types aren’t being typed correctly! I find this pretty weird, even if I don’t follow the intended structure.
Result of the types:
This is the schema I expect to see:
Can someone help me understand how this is ment to be used?
Beta Was this translation helpful? Give feedback.
All reactions