SAP / open-ux-odata

Enable community collaboration to jointly promote and facilitate best in class framework and tooling capabilities when working with OData services.
Apache License 2.0
51 stars 12 forks source link

FEATURE - Support mock data creation for contained entities (containments) #460

Open hitesh-parmar opened 1 year ago

hitesh-parmar commented 1 year ago

I would like to preview my app offline with auto generated mock data.

Description

During development, I would like to preview my app with mock data. This works great, but not for contained entities. Mock data is not generated in case of contained entities. This enhancement will help to fully support offline development.

Test with any OData V4 service which uses containtments.

Technical Design

What modules need to be created or enhanced? How would the functionality be exposed and how can it be consumed?

Acceptance Criteria

GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)

Given I have a ... when I execute ... then ... will happen.

Notes

Tasks

nlunets commented 1 year ago

I'm sorry but i forgot what this was about and i can't find a clear ask from what you wrote. Contained entities are created empty by default, do you require some data in ?

hitesh-parmar commented 1 year ago

Hi @nlunets, Yes correct. I would like to have mock data created for contained entities. This is helpful for offline preview of applications during development (without prior creating CSV data).