cap-js-community / odata-v2-adapter

OData V2 adapter for CDS. Exposes a full-fledged OData V2 service, converting OData V2 requests to CDS OData V4 service calls and responses back.
https://www.npmjs.com/package/@cap-js-community/odata-v2-adapter
Apache License 2.0
25 stars 10 forks source link

Handle multi-protocol services #39

Closed chgeo closed 9 months ago

chgeo commented 9 months ago

Don't show the links for non-OData endpoints, e.g. for the rest endpoint if @protocol: ['rest', 'odata'] is configured.

From sap/cds 7.7, the endpoint is passed in to the link provider, so react on it. Still be compatible with older cds versions.