Skip to content

Commit f98af64

Browse files
docs: Update documentation (box/box-codegen#860) (#1112)
1 parent 9bba5fc commit f98af64

File tree

3 files changed

+51
-47
lines changed

3 files changed

+51
-47
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "733e376", "specHash": "fa34496", "version": "10.0.1" }
1+
{ "engineHash": "48e5311", "specHash": "fa34496", "version": "10.0.1" }

docs/working-with-nulls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Handling null values in v10 version of Box Node SDK
1+
# Handling null values in Box Node SDK
22

3-
While using v10 version of Box Node SDK it's important to understand how null values behave. This document provides a general overview of null value behaviour in v10 version of box-node-sdk to help developers manage data consistently and predictably.
3+
While using Box Node SDK it's important to understand how null values behave. This document provides a general overview of null value behaviour in box-node-sdk to help developers manage data consistently and predictably.
44

55
## Understanding null behaviour
66

7-
The v10 version of Box Node SDK follows a consistent pattern when handling null values in update operations. This behaviour applies to most endpoints that modify resources such as users, files, folders and metadata. The updating field behaves differently depending on weather you omit it, set it to null, or provide a value:
7+
The Box Node SDK follows a consistent pattern when handling null values in update operations. This behaviour applies to most endpoints that modify resources such as users, files, folders and metadata. The updating field behaves differently depending on weather you omit it, set it to null, or provide a value:
88

99
- Omitting the field: The field won't be included in request and the value will remain unchanged
1010
- Setting it to null: Setting a field to null, will cause sending HTTP request with field value set to null, what will result in removing its current value or disassociates it from the resource.

package-lock.json

Lines changed: 47 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)