Skip to content

Commit

Permalink
NonUpdatableProperties (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl authored Mar 11, 2021
1 parent 15fc5fd commit f4add6c
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 114 deletions.
40 changes: 20 additions & 20 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"json.schemas": [
{
"fileMatch": [
"examples/*.json",
"test/*.json"
],
"url": "./node_modules/odata-csdl/schemas/csdl.schema.json"
}
],
"xml.catalogs": [
"./node_modules/odata-csdl/catalog.xml"
],
"mochaExplorer.esmLoader": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
}
{
"json.schemas": [
{
"fileMatch": [
"examples/*.json",
"test/*.json"
],
"url": "./node_modules/odata-csdl/schemas/csdl.schema.json"
}
],
"xml.catalogs": [
"./node_modules/odata-csdl/catalog.xml"
],
"mochaExplorer.esmLoader": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true
}
5 changes: 5 additions & 0 deletions vocabularies/Org.OData.Capabilities.V1.json
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,11 @@
"$DefaultValue": true,
"@Core.Description": "Members of collections can be updated via a PATCH request with a type-cast segment and a `/$each` segment"
},
"NonUpdatableProperties": {
"$Collection": true,
"$Type": "Edm.PropertyPath",
"@Core.Description": "These structural properties cannot be specified on update"
},
"NonUpdatableNavigationProperties": {
"$Collection": true,
"$Type": "Edm.NavigationPropertyPath",
Expand Down
Loading

0 comments on commit f4add6c

Please sign in to comment.