Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New IDataProcessing interface that supports multiple DataElements and adding elements in response to changes #776

Open
ivarne opened this issue Sep 16, 2024 · 0 comments
Labels

Comments

@ivarne
Copy link
Member

ivarne commented Sep 16, 2024

Description

With support for subforms and multiple data models and the multiple PATCH endpoint, app developers want to read and write multiple data elements in a single request, and also to be able to ADD subform instances based on information changes in the main data element.

Deleting is different, because the current PATCH interface does not allow to signal deletion, and in addition it is likely better to have some sort of hidden mechanism so that the data isn't actually deleted until we trigger /process/next

Additional Information

Frontend will not yet support receiving new data elements in a PATCH response, and this needs to be added. If we want to support deletion of whole data elements, an appropriate interface needs to be negotiated. Likely solution would be to send instance.Data (or the full instance object)

@ivarne ivarne added kind/feature-request New feature or request status/triage labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant