-
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
Support entity type as parameter/return type for function/action import #707
Comments
This feature was requested here as well: https://answers.sap.com/questions/13229704/unsupported-function-or-action-import-parameter.html |
It turns out that all the function imports with entity parameters occurred in the SAP Business One metadata file are bound function. Therefore, the feature request implicitly goes to the direction that contains the bound function/action. |
As there was no further activity on this, I will close it for now. We will keep it in our backlog with low priority. |
BTW, @thekevinbrown, did you try running the generator after some of the fixes we provided? Entity types as return types are now supported, but adding support for parameters would result in a bigger deal, we plan to postpone this until there is bigger demand. However, generation should not fail for those anymore. |
No, I ended up just hand coding entity files and a client to match our needed schema, as it had to be done quickly. |
Thank you for the info! |
Hi colleagues, I am currently working in a customer project where we require this feature since we need to call bound actions quite frequently. Until now we called them through the HTTP client as a workaround but now we also need to bundle them in batch requests which is quite cumbersome without a high-level API. Are there any plans to implement this? |
Hi, yes it would be really nice if bound actions/functions would be supported by the sdk generator. |
Hi all, Thanks for your comments.
Using the HTTP client is the recommended workaround, which should work but I agree, it makes the consumption more complicated. To make it more transparent, the current priority of the SAP Cloud SDK is to support AI use cases. (new repository) Thank you very much for your understanding. |
Hi @jjtang1985 even though my origin issue #4543 is an unbound operation, we keep coming across this post in the hope that this feature will be implemented soon. If I read the SCN correctly, it was already in development in january 21
|
When using the generator with an SAP Business One Edmx file, the following error message is shown:
because currently the sdk does not support entity type as parameter for function/action import.
AC:
cloud sdk version: 1.31.1-22d161e0.22
odata version: v4
The text was updated successfully, but these errors were encountered: