Skip to content

Commit 229d32b

Browse files
committed
vale fix
1 parent f7debae commit 229d32b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/data-formats/data-format-data-class.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You can use the following annotations on data classes:
124124

125125
* - ``BsonRepresentation``
126126
- Specifies the BSON type MongoDB uses to store the value. Use this
127-
annotation only when you need to store a value as a different
127+
annotation only when you must store a value as a different
128128
BSON type than the data class property.
129129

130130
:red:`WARNING:` Your code might throw an exception if you include the
@@ -159,7 +159,7 @@ You can insert a ``NetworkDevice`` instance as shown in the following code:
159159
:end-before: end-insert-ann
160160
:dedent:
161161

162-
The inserted document in MongoDB should resemble the following:
162+
The inserted document in MongoDB resembles the following:
163163

164164
.. code-block:: json
165165
:copyable: false
@@ -204,9 +204,10 @@ code provides an example of a recursive data class design:
204204
:end-before: end-recur-class
205205
:dedent:
206206

207-
You can perform read and write operations on recursively defined data classes the same
208-
way you would for other data classes. The following code shows how you can
209-
execute a find operation on a collection of ``DataClassTree`` types:
207+
You can perform read and write operations on recursively defined data
208+
classes the same way that you do for other data classes. The following
209+
code shows how you can execute a find operation on a collection of
210+
``DataClassTree`` types:
210211

211212
.. io-code-block::
212213
:copyable: true

0 commit comments

Comments
 (0)