-
Notifications
You must be signed in to change notification settings - Fork 57
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
ODATAv4 client is missing bound function/action #4577
Comments
Hi @GoWale , There seems to be an issue with your v4 spec. If I also include the reference to bound action import inside the <EntityContainer Name="EntityContainer">
...
...
<ActionImport Name="sendLetter" Action="main_service.sendLetter"/>
</EntityContainer> |
Hi @deekshas8 , thanks for the reply. But just to be sure. See chapter 12
For that reason I have created the issue here. regards |
I think this is related to #707 and also #4543 should we still ad a comment to #707 as mentioned here: https://sap.github.io/cloud-sdk/docs/js/features/odata/v4-client#known-issues
|
Hi @nlaenger , sorry for the late response. While we're aware that this is a gap in our generator, we currently do not have the capacity to address this. You can open tickets with CAP and RAP, but if they're following the spec, I'm not sure how keen they are on implementing workarounds for gaps in the Cloud SDK. I'm afraid you will either need to find a workaround or make a contribution to the SDK. Feel free to also comment #707 so that we have everything in one place. Best regards, |
Describe the bug
the documentation tell ther shoud be support for bound an unbound functions on:
https://sap.github.io/cloud-sdk/docs/js/features/odata/v4-client#using-operations
but the bound functions/actions are missing in my odata v4 example
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/GoWale/issue-cloud_sdk-odatav4-action.git
npm i
Expected behavior
Like the unbound function/action
also the bound function/action
should work like stated in the documentation
Used Versions:
"@sap-cloud-sdk/generator": "^3.12.1",
Impact / Priority
medium: bound functions/action have to be implemented by hand an there are no types for parameter/results
Affected development phase: Development / CI/CD
The text was updated successfully, but these errors were encountered: