Currently toODataString constructs the entire query string used to make a request. When API endpoints are automatically generated (using swagger/OpenAPI for example), this makes toODataString less helpful. I would like a function that exposes the individual properties generated by toODataString
For example, toODataString currently produces something like
'$skip=0&$top=20&$orderby=quantity&$filter=date ge 2020-01-01T00:00:00.000Z'
I'd like something like toODataObject that produces something like
{$skip: 0, $top: 20, $orderby: 'quantity', $filter: 'date ge 2020-01-01T00:00:00.000Z'}
so that I could pass individual properties as parameters to generated API functions.
Thanks.
Hi Adam,
Thank you for the provided details.
That is indeed a valid feature request that we will monitor and eventually add to our future development plans based on the provided customer demand for it.
Regards,
Svet
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.