odata
odata copied to clipboard
I cannot define the type for bound function
Hi,
How can I define the entity type a function is bound to?
In your example with "GetAverageAge" the function is bound to "Person" (or Person collection).
In my tests I took a workaround to accomplish this. But this way is cumbersome (See https://github.com/omniavincitlabor/odata4-test (AbstractBoundOperation)).
Additionally my functions do not appear in $metadata#.