ossuminc / riddl

A compiler for the DDD-based design language RIDDL
https://riddl.tech/
Apache License 2.0
21 stars 6 forks source link

[FEATURE] Provide Better Statements For Repositories #598

Closed reid-spencer closed 6 months ago

reid-spencer commented 6 months ago

Is your feature already requested in another issue?

No.

Is your feature a defect?

No.

Is your feature request related to a problem? Please describe.

The kinds of statements supported by RIDDL all pertain to sending messages, a few logic statements, and housekeeping things. None of them are specific to data storage. This needs to be enhanced in the case of a Repository.

Describe the solution you'd like

Issue #594 detailed some things for Projectors that should have been targeted towards Repositories. Translating those requests, we arrive at these data storage statement capabilities:

Describe the alternatives you've considered

None have been considered, but there are constraints to this. We do not want to implement a generalized and complicated language like SQL that deals with every kind of data structure. That would render RIDDL into a class of programming languages instead of a design language. The use of abstract constructs should be used so there's a large freedom of expression in natural language.

Additional Context

None.