Closed hkbertoson closed 1 year ago
AutoForm didn't support top-level refinements and excepted the outer zod object to not be wrapped. I now updated it to support that.
The TypeScript type is still slightly wrong as it doesn't allow multiple levels of ZodEffects but the code does. TypeScript doesn't seem to like circular type definitions so I'll have to look into how to circumvent this.
Throws this error