Open bingtsingw opened 3 months ago
console.log(factory) prints an object, but console.log(df.city) throws an error of undefined is not an object (evaluating 'string._def')
console.log(factory)
console.log(df.city)
undefined is not an object (evaluating 'string._def')
There is a problem with test factories that it works only if you're using zod schema provider. I'm not sure how to make it validation-lib agnostic and I've delayed this problem for later.
console.log(factory)
prints an object, butconsole.log(df.city)
throws an error ofundefined is not an object (evaluating 'string._def')