How do i bypass a validation of a specific field for a prisma generated model #2848
Unanswered
shivanshtalwar0
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
let's say I have two models in prisma
now if I use PricingRule model in a put API to update
parameters
field ajv validation expect an array of object but if I want to change the behaviour instead of expecting array of objectsI want to send array of ids of parameters and deal with prisma connect logic in backend and I don't want to create custom model because there are lot of such tables how can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions