Hello <@U0RQY0KK5> There any way to defined some ...
# prisma-whats-new
p
Hello @nilan There any way to defined some model level validation like i have mobile number field in my User model before save I want to check mobile number is valid or not using some algorithm?
n
@ppatidar hey, you can use the functions feature and choose the Request Pipeline event type
in
TRANSFORM_ARGUMENT
or
PRE_WRITE
you can validate the input 🙂
🎉 1