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

Add validation in WhereUnique inputs #34

Closed
chrishoermann opened this issue Dec 14, 2022 · 2 comments
Closed

Add validation in WhereUnique inputs #34

chrishoermann opened this issue Dec 14, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request todo Needs to be implemented

Comments

@chrishoermann
Copy link
Owner

chrishoermann commented Dec 14, 2022

Maybe It makes sense to allow validation in whereUnique Inputs because there the full information of the field needs to be provided.

@chrishoermann chrishoermann self-assigned this Dec 14, 2022
@chrishoermann chrishoermann added enhancement New feature or request todo Needs to be implemented labels Dec 14, 2022
@chrishoermann chrishoermann changed the title Add validation in würde unique input Add validation in WhereUnique inputs Dec 14, 2022
@chrishoermann
Copy link
Owner Author

implemented

@MarkShawn2020
Copy link

thanks for your great job.


however, it seems that the validateWhereUniqueInput doesn't work.

when I turn on createInputTypes, then it would generate the proper XXWhereUniqueXX schemas for me (while it also generates more ... )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo Needs to be implemented
Projects
Development

No branches or pull requests

2 participants