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
I think having something like Zod could definitely open up opportunities to ensure safety specifically in our rest package. Right now we just use TypeScript to assume it's fine, we could have an optional setting that enables Zod (for example) validation that ensures the values are parsed.
I'd be totally on board with this and if it's done right we could make it a non-breaking change in v19. The amount of effort it would take would be huge though.
I'm completely for this and would love to see it move out of RFC.
Current situation/status/issue:
Propose:
Define discord type with schema library such as (ajv, zod, yup, etc), then generate type from it.
We can achieve:
The text was updated successfully, but these errors were encountered: