Greg Brisebois
Greg Brisebois
Support wrapping any nullable field with a generic type provided by the user. The config looks like this: ```yaml sql: - gen: go: ... generic_null_type: import: "database/sql" type: "Null" ```...
How can I set fields to be nullable in the generated spec? I can't find any way to set nullability on a [Schema](https://pkg.go.dev/github.com/danielgtaylor/huma/v2#Schema). Ideally I'd like to make pointers always...
Support wrapping any nullable field with a generic type provided by the user. The config looks like this: ```yaml sql: - gen: go: ... generic_null_type: import: "database/sql" type: "Null" ```...