Exposing Direct Associations as Links in Existing OData Service (OData v4)

0
I have an existing OData service (v4) that exposes associations as links. Question We created new Direct Associations instead of associations with an intermediate entity. However, the new Direct Associations are not visible as an option to expose in our existing OData service. Error/Challenge We are unable to expose the newly created Direct Associations through the same OData service, unlike the existing associations. Desired Approach Can direct associations be exposed as links in an existing OData service? If yes, are there any limitations or additional configuration steps required when switching from an association with an intermediate entity to a direct association?
asked
1 answers
0

The direct associations not showing up in the existing OData service may be related to the fact that switching from a link entity to a direct association changes the OData navigation structure. Since this introduces a potential breaking change, a reasonable approach could be to leave the existing service untouched and publish a new OData service (v2) that includes the direct associations, using it to validate the behavior and migrate consumers in a controlled way if needed.

answered