Skip to content

Conversation

dca123
Copy link
Contributor

@dca123 dca123 commented Jun 6, 2023

Continuing the work on #64 , this first verifies that each of the input is a zod object before attempting to merge it. This will also fix #78.

I had to remove zod as a dependency, since having it both as a dependency and peer, causes the prototype on the inputs to be undefined. This meant, I couldn't use (input instanceOf z.ZodObject). That's discussed a bit more here - colinhacks/zod#2241

Should I write a test for this ?

@tungvn
Copy link

tungvn commented Nov 15, 2023

Please merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Base Procedures
3 participants