Handling Nested Optional Fields in TypeScript Schema Transformations
I'm struggling to
but types aren't happy because Schema.OptionEncoded isn't compatible with Option. Not sure what else I could use as the second arg to transform since propertySignatures aren't valid there
transform when dealing with a nested optional field. I'd like to do something like this:but types aren't happy because Schema.OptionEncoded isn't compatible with Option. Not sure what else I could use as the second arg to transform since propertySignatures aren't valid there
