Colin McDonnell

Results 468 comments of Colin McDonnell

All PRs & issues have been closed on my end! Keep them coming!

Related to https://github.com/oven-sh/bun/issues/3110 Original issue: --- Hello! I've installed canvas on my project and seem to be getting errors whenever I use it. I created a repository with the bare...

I don't love this API - I think it makes the process of "computing" error messages even more inscrutable. What does it even mean to call this method on a...

This has landed in Zod 4.2: https://zod.dev/json-schema?id=zfromjsonschema ```ts import * as z from "zod"; const jsonSchema = { type: "object", properties: { name: { type: "string" }, age: { type:...

Here's a dedicated guide for library authors that answers some common questions: https://v4.zod.dev/library-authors 1. Best practices around peer dependencies 2. How to support Zod v3 and Zod v4 simultaneously 3....

Big +1, would love this as a library author. I've been using tilde-prefixed property names as a way to deprioritize internal fields in Intellisense but it's quite hacky.

Yeah, I've been playing with the idea of `z.in()` and `z.out()` utilities that recursively traverse the schema and give you the "input" or "output" side of all pipes/codecs/etc. This is...