Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ask] ormFactory.relation is never type #245

Open
bingtsingw opened this issue Mar 6, 2024 · 1 comment
Open

[ask] ormFactory.relation is never type #245

bingtsingw opened this issue Mar 6, 2024 · 1 comment

Comments

@bingtsingw
Copy link
Sponsor Contributor

image image

console.log(factory) prints an object, but console.log(df.city) throws an error of undefined is not an object (evaluating 'string._def')

@romeerez
Copy link
Owner

romeerez commented Mar 6, 2024

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.

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

No branches or pull requests

2 participants