Daniel Hutzel

Results 50 issues of Daniel Hutzel

Streamlines and minimises custom code in service impl, also by using generic validation through @mandatory and defaults

With this PR we remove the former attempts to normalise db unique constraint violation errors. As with not null constraint or referential integrity constraints, unique constraints are not catched and...

next release

Requires @sap/cds 5132

Demonstrates how to add common code lists for Units of Measures, like packaging units, weights, lengths, ..., which could then be used like that in own models: ```cds using {...

## Experimental Dynamic Constraints This example demonstrates how to use dynamic constraints in a CAP application. It includes a service definition and a test setup to validate the constraints. ###...

This is a restore of a lean CAP-only variant of SFlight, w/o the overhead induced by TypeScript and w/o the >1000 extra dependencies induced by UI5 and Fiori tooling →...

1. Replace hard-coded checks by @mandatory annotations → BAD generic error messages: ![image](https://github.com/user-attachments/assets/0cee4d3f-b7bf-4731-acc0-c701943a9e8e) ⇒ Fiori should add localized field labels 2. Create new Travel → SAVE → all fields with...