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

Validate object values received for the resolvers #3

Open
cesarve77 opened this issue Dec 17, 2018 · 0 comments
Open

Validate object values received for the resolvers #3

cesarve77 opened this issue Dec 17, 2018 · 0 comments

Comments

@cesarve77
Copy link
Owner

We need validate de object values against validators. values like minNumber, RegEx and rest.

We already have a validator in Schema, but the object received for the resolver will have properties like: 'create', 'update' and 'connect' coming from prisma semantic.

Or we do a new validator, which check the prisma semantic as well or we transform the object removing that properties and after check it with the existing validate function

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

1 participant