Skip to content

Commit

Permalink
Change related entity with PUT (#1994)
Browse files Browse the repository at this point in the history
Fixes #1973

---------

Co-authored-by: Ralf Handl <[email protected]>
  • Loading branch information
HeikoTheissen and ralfhandl authored Oct 16, 2024
1 parent c54ac7f commit 18b4c1a
Show file tree
Hide file tree
Showing 15 changed files with 625 additions and 189 deletions.
31 changes: 28 additions & 3 deletions docs/odata-csdl-json/styles/odata.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--indent: 40px;
}

a:target,
span:target {
background-color: yellow;
Expand Down Expand Up @@ -168,11 +172,31 @@ td > code {

.example pre,
.rep {
margin-left: 40px;
margin-left: var(--indent);
}

.caption p {
margin-left: var(--indent);
margin-bottom: -1em;
}

.side-by-side {
margin: -1em 0;
}

.side-by-side:after {
content: "";
display: block;
clear: both;
}

.side-by-side > div {
width: 50%;
float: left;
}

.indent {
margin-left: 40px;
margin-left: var(--indent);
}

td pre {
Expand All @@ -195,7 +219,7 @@ mjx-container {

mjx-container[display="true"] {
text-align: left !important;
margin-left: 40px !important;
margin-left: var(--indent) !important;
}

code .er {
Expand Down Expand Up @@ -247,6 +271,7 @@ h6 {
page-break-after: avoid;
}

.side-by-side,
td {
page-break-inside: avoid;
}
Expand Down
31 changes: 28 additions & 3 deletions docs/odata-csdl-xml/styles/odata.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--indent: 40px;
}

a:target,
span:target {
background-color: yellow;
Expand Down Expand Up @@ -168,11 +172,31 @@ td > code {

.example pre,
.rep {
margin-left: 40px;
margin-left: var(--indent);
}

.caption p {
margin-left: var(--indent);
margin-bottom: -1em;
}

.side-by-side {
margin: -1em 0;
}

.side-by-side:after {
content: "";
display: block;
clear: both;
}

.side-by-side > div {
width: 50%;
float: left;
}

.indent {
margin-left: 40px;
margin-left: var(--indent);
}

td pre {
Expand All @@ -195,7 +219,7 @@ mjx-container {

mjx-container[display="true"] {
text-align: left !important;
margin-left: 40px !important;
margin-left: var(--indent) !important;
}

code .er {
Expand Down Expand Up @@ -247,6 +271,7 @@ h6 {
page-break-after: avoid;
}

.side-by-side,
td {
page-break-inside: avoid;
}
Expand Down
31 changes: 28 additions & 3 deletions docs/odata-data-aggregation-ext/styles/odata.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--indent: 40px;
}

a:target,
span:target {
background-color: yellow;
Expand Down Expand Up @@ -168,11 +172,31 @@ td > code {

.example pre,
.rep {
margin-left: 40px;
margin-left: var(--indent);
}

.caption p {
margin-left: var(--indent);
margin-bottom: -1em;
}

.side-by-side {
margin: -1em 0;
}

.side-by-side:after {
content: "";
display: block;
clear: both;
}

.side-by-side > div {
width: 50%;
float: left;
}

.indent {
margin-left: 40px;
margin-left: var(--indent);
}

td pre {
Expand All @@ -195,7 +219,7 @@ mjx-container {

mjx-container[display="true"] {
text-align: left !important;
margin-left: 40px !important;
margin-left: var(--indent) !important;
}

code .er {
Expand Down Expand Up @@ -247,6 +271,7 @@ h6 {
page-break-after: avoid;
}

.side-by-side,
td {
page-break-inside: avoid;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-json-format/odata-json-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ <h2 id="85-bind-operation"><a id="BindOperation" href="#BindOperation">8.5 Bind
<span id="cb23-6"><a href="#cb23-6" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
</div>
<div class="example">
<p>Example 22: submit a partial update request to:</p>
<p>Example <a id="deepupdate" href="#deepupdate">22</a>: submit a partial update request to:</p>
<ul>
<li>modify the name of an existing category</li>
<li>assign an existing product with the id 42 to the category</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-json-format/odata-json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ Content-Type: application/json
:::

::: example
Example 22: submit a partial update request to:
Example <a id="deepupdate" href="#deepupdate">22</a>: submit a partial update request to:
- modify the name of an existing category
- assign an existing product with the id 42 to the category
- assign an existing product 57 to the category and update its name
Expand Down
31 changes: 28 additions & 3 deletions docs/odata-json-format/styles/odata.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--indent: 40px;
}

a:target,
span:target {
background-color: yellow;
Expand Down Expand Up @@ -168,11 +172,31 @@ td > code {

.example pre,
.rep {
margin-left: 40px;
margin-left: var(--indent);
}

.caption p {
margin-left: var(--indent);
margin-bottom: -1em;
}

.side-by-side {
margin: -1em 0;
}

.side-by-side:after {
content: "";
display: block;
clear: both;
}

.side-by-side > div {
width: 50%;
float: left;
}

.indent {
margin-left: 40px;
margin-left: var(--indent);
}

td pre {
Expand All @@ -195,7 +219,7 @@ mjx-container {

mjx-container[display="true"] {
text-align: left !important;
margin-left: 40px !important;
margin-left: var(--indent) !important;
}

code .er {
Expand Down Expand Up @@ -247,6 +271,7 @@ h6 {
page-break-after: avoid;
}

.side-by-side,
td {
page-break-inside: avoid;
}
Expand Down
307 changes: 185 additions & 122 deletions docs/odata-protocol/odata-protocol.html

Large diffs are not rendered by default.

Loading

0 comments on commit 18b4c1a

Please sign in to comment.