I have a situation where I need to write a Cat object via tRPC but the procedure only accepts a Pet.
(contrived example).
the Cat property has a "whiskers" param which Pet does not have so it throws an error when I'm trying to call tRPC.
This compiles just fine with Typescript but I get a runtime error when I try to write to the DB.
I think we should have a strict() version of wrap() where Zod will remove the excess properties.
This way it can write the Pet to the db without the whiskers param.