Prisma check if field is nullable #11
-
I can really easily get all fields in model via |
Beta Was this translation helpful? Give feedback.
Answered by
petrvecera
Apr 3, 2024
Replies: 1 comment 1 reply
-
If the project is in TypeScript, does it hint if it's mandatory or not? I am not sure. But in the plain JS I think there isn't a clear way to do it at the runtime. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rcMarty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the project is in TypeScript, does it hint if it's mandatory or not? I am not sure. But in the plain JS I think there isn't a clear way to do it at the runtime.