Skip to content

Commit c770d01

Browse files
authored
Merge pull request mendix#8841 from MichielArts/development
Corrected docs on exposing odata associations "as a link".
2 parents 5682259 + 06e3ac1 commit c770d01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/en/docs/refguide/modeling/integration/odata-services/published-odata-services/odata-representation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In the settings of the OData service, you can choose how associations are repres
4545

4646
### As a Link
4747

48-
When you choose to represent associations as links, each object contains a link for each of its associations. The associated object (or objects) can be retrieved via those links.
48+
When you represent associations as links, the data of associated objects can be included in the response by using the `$expand` query parameter. For more information, see the [Retrieving Associated Objects](/refguide/supported-odata-operations/#retrieving-associated-objects) section of *Supported OData Operations*.
4949

5050
This means you can only publish an association when the entity on the other side is published in this service as well. This also means that you cannot publish the same entity more than once in the same service (because in that case, it would not be clear where the link should point to).
5151

content/en/docs/refguide9/modeling/integration/odata-services/published-odata-services/odata-representation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ In the settings of the OData service, you can choose how associations are repres
4444

4545
### As a Link
4646

47-
When you choose to represent associations as links, each object contains a link for each of its associations. The associated object(s) can be retrieved via those links.
47+
When you represent associations as links, the data of associated objects can be included in the response by using the `$expand` query parameter. For more information, see the [Retrieving Associated Objects](/refguide/supported-odata-operations/#retrieving-associated-objects) section of *Supported OData Operations*.
4848

4949
This means that you can only expose an association when the entity on the other side is a resource of this service as well. This also means that you cannot publish the same entity more than once in the same service (because in that case, it would not be clear where the link should point to).
5050

0 commit comments

Comments
 (0)