drizzle-typebox infers integer() as TString
I've tried it on Github Codespaces and my machine, both times the types are inferred wrong. Is anyone else dealing with this?
Here's the code:
5 Replies
I've created a github issue if anyone has more information
https://github.com/drizzle-team/drizzle-orm/issues/3756
GitHub
[BUG]: drizzle-typebox infers integer() as TString · Issue #3756 · ...
Report hasn't been filed before. I have verified that the bug I'm about to report hasn't been filed before. What version of drizzle-orm are you using? 0.38.1 What version of drizzle-kit...
This is a known issue. There's a PR with a patch for it that should be merged soon
Could you link me to the issue please? 🙏
GitHub
Fix
drizzle-zod
and drizzle-typebox
mapping refinements incorre...Addresses #3735, #3756 & #3734.
Title. Also removed some unnecessary @internal JSDoc comments.
Thank you