Scott Trinh

Results 319 comments of Scott Trinh

`nanoid` is just a string at the type level, right? We don't expose a way to create random types at the database level (it would need to be something implemented...

> Also one benefit to making z.discriminatedUnion work, is generators (Zod to X) like [@anatine/zod-openapi](https://github.com/anatine/zod-plugins/tree/main/packages/zod-openapi?rgh-link-date=2023-03-01T07%3A51%3A38Z). With the switch API there would be no way of getting individual options for schema...

Are you using one of the helper libraries?

One tricky bit here is not depending on Zod itself and having it be a peerDependency and tracking changes to Zod here: changes to Zod's API would have potentially breaking...

The TypeScript team has been making great strides lately on the performance of the type checker. I'd love to hear from anyone who is able to update to the latest...

I believe this is a case of dualing use-cases: people fought pretty hard for the current API of "surface as many errors as possible" since we used to fail fast....

Hey friends and community members, just wanted to check in here with the latest. Thanks so much to everyone's hard work for getting this PR in shape, it's well done...

I think there is a separate issue that's been raised here about governance and how we maintain such a popular library, and I'd welcome a lively discussion about this over...

Apologies for this being something that Stale bot closed, I absolutely think we should work with `exactOptionalPropertyTypes`. Unfortunately, it's a breaking change since our runtime code can't introspect your configuration...

@akomm I believe what you're describing (the change to make record values `| undefined`) is related, but not the same as the original post around `partial` (and therefore `optional`) if...