polishing

This commit is contained in:
Daniel Hutzel
2025-07-24 13:52:01 +02:00
parent 991e890ba9
commit 4e76d71def
3 changed files with 11 additions and 4 deletions

View File

@@ -22,5 +22,9 @@ cds repl --run bookshop/test/dynamic-constraints
````
```javascript
await AdminService.create ('Books', {})
await AdminService.create ('Books', { title:' ', author_ID:150 })
await AdminService.create ('Books', { title:'x' })
await cds.validate (Books.constraints, 201)
await cds.validate (Books.constraints)
```