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

Allow functions/actions to return (and take) a delta payload #348

Closed
ralfhandl opened this issue Mar 20, 2024 · 3 comments · Fixed by #2005 or oasis-tcs/odata-vocabularies#278
Closed

Comments

@ralfhandl
Copy link
Contributor

We define a delta payload that can be returned from a(n opaque) delta link, as well as other service-defined mechanisms.

However, we don't have a way to define a custom function (or action) that can return a delta payload, and there are many places where a service may want to describe the results of a custom function (or action) using a delta payload.

Similarly, one can imagine using the delta payload as a payload to a custom action.

How can users define functions/actions that can return (or take) delta payloads.

Imported from ODATA-1527

@mikepizzo
Copy link
Contributor

mikepizzo commented Sep 4, 2024

This does seem useful.
Annotate the response (or parameter) to clarify that it is delta (may contain deleted entities).
Only support deep
Context URL should end in /$delta

@ralfhandl
Copy link
Contributor Author

TC 2024-09-04: resolved with the above comment

@ralfhandl ralfhandl moved this from Open to Resolved in OData TC Sep 4, 2024
@mikepizzo
Copy link
Contributor

Resolved as proposed 2024-9-4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment