Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change related entity with PUT #1994

Merged
merged 24 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
437b7dd
Change related entity with PUT
HeikoTheissen Sep 12, 2024
ef39938
Explain example
HeikoTheissen Sep 12, 2024
3efefb2
Extend example
HeikoTheissen Sep 12, 2024
653c084
Use incomplete but valid entity reference
HeikoTheissen Sep 12, 2024
2be077d
Merge remote-tracking branch 'origin/main' into 1973/put-navprop
HeikoTheissen Sep 25, 2024
d5d9c03
Cross-section references
HeikoTheissen Sep 25, 2024
72ad21c
Side-by-side examples
HeikoTheissen Sep 26, 2024
c32454e
Merge branch 'main' into 1973/put-navprop
HeikoTheissen Sep 26, 2024
775d6d7
FirstName null, LastName null
HeikoTheissen Sep 26, 2024
8770001
typo
HeikoTheissen Sep 26, 2024
5d62774
Collapse margins
HeikoTheissen Sep 26, 2024
33b49a8
Merge remote-tracking branch 'origin/main' into 1973/put-navprop
HeikoTheissen Sep 27, 2024
b51af1a
TC 2024-10-02
HeikoTheissen Oct 3, 2024
6f0b2da
DRY: --indent
HeikoTheissen Oct 7, 2024
84a29b6
Request headers
HeikoTheissen Oct 7, 2024
c8cc1a2
Merge branch 'main' into 1973/put-navprop
ralfhandl Oct 9, 2024
fc92371
PUT and PATCH do not change absent navigation properties
HeikoTheissen Oct 10, 2024
849ff3a
Merge branch '1973/put-navprop' of [email protected]:oasis-tcs/odata-spe…
HeikoTheissen Oct 10, 2024
ecc071d
@ralfhandl's suggestion
HeikoTheissen Oct 10, 2024
28beb96
Rephrased
HeikoTheissen Oct 10, 2024
5ea6903
No page break in table-ish
HeikoTheissen Oct 10, 2024
3d2640f
npm audit fix
HeikoTheissen Oct 10, 2024
e444e69
Merge branch 'main' into 1973/put-navprop
HeikoTheissen Oct 16, 2024
941670d
TC 2024-10-16
HeikoTheissen Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 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
30 changes: 27 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
30 changes: 27 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
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 @@ -1166,7 +1166,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 @@ -1734,7 +1734,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
30 changes: 27 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
307 changes: 185 additions & 122 deletions docs/odata-protocol/odata-protocol.html

Large diffs are not rendered by default.

Loading