on ‎2025 Jan 28 4:18 PM
Hi everyone,
I am currently having an issue when doing an cds.ql.INSERT, my entity has the annotation @mandatory in the schema definition, however when I do an insert in an action, it is allowing me to insert the null value in the database for a mandatory field, I was expecting to get an error.(when using the Fiori UI works fine) I am using @SAP/cds: 8.5.1, and testing locally.
is it there a way to enforce this validation at the database/cds level?
thanks,
Tatiana F.
Request clarification before answering.
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.