Skip to content

Commit

Permalink
vale fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Jan 15, 2025
1 parent 9311ba6 commit 050ac55
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/fundamentals/auth.txt
Original file line number Diff line number Diff line change
Expand Up @@ -501,5 +501,5 @@ mechanism:
:language: kotlin

For additional information on configuring your application to use
certificates as well as TLS/SSL options, see our
certificates and TLS/SSL options, see our
:doc:`TLS/SSL guide </fundamentals/connection/tls>`.
6 changes: 3 additions & 3 deletions source/fundamentals/builders.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ builders in the {+driver-short+}:
.. literalinclude:: /examples/generated/BuildersTest.snippet.no-builders.kt
:language: kotlin

In this case, you could easily include an error when writing the
``"\$gt"`` operator in the filter, but you would see an error only at
runtime.
In this case, you might easily include an error when writing the
``"\$gt"`` operator in the filter, but your IDE returns the relevant
error only at runtime.

Using Builders
~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion source/fundamentals/builders/aggregates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ to the ``name`` field:
.. literalinclude:: /examples/generated/AggregatesBuilderTest.snippet.graph-lookup.kt
:language: kotlin

Using ``GraphLookupOptions``, you can specify the depth to recurse as well as
Using ``GraphLookupOptions``, you can specify the depth to recurse and
the name of the depth field, if desired. In this example, ``$graphLookup`` will
recurse up to two times, and create a field called ``degrees`` with the
recursion depth information for every document.
Expand Down
4 changes: 2 additions & 2 deletions source/fundamentals/data-formats/documents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ MongoDB Kotlin driver.

A MongoDB document is a data structure that contains key/value fields in
binary JSON (BSON) format. You can use documents and the data they contain
in their fields to store data as well as issue commands or queries in
MongoDB.
in their fields to store data, and you can use them to issue commands or
queries in MongoDB.

For more information on the terminology, structure, and limitations of documents,
read our page on :manual:`Documents </core/document>` in the MongoDB manual.
Expand Down
9 changes: 5 additions & 4 deletions source/migrate-kmongo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ Both drivers provide support for type-safe queries using property references.
Data Typing
-----------

Both drivers support the use of {+language+} data classes as well as the ``Document`` class to
model the data stored in a MongoDB collection. The ``Document``
class lets you model data represented in a MongoDB collection in a flexible format.
Both drivers support the use of {+language+} data classes and the
``Document`` class to model the data stored in a MongoDB collection. The
``Document`` class lets you model data represented in a MongoDB
collection in a flexible format.

.. tabs::

Expand Down Expand Up @@ -329,7 +330,7 @@ in {+language+} to and from BSON.
:tabid: {+driver-long+}

You can serialize data classes in the {+driver-short+} using both automatic
data class codecs as well as the ``kotlinx.serialization`` library. The
data class codecs and the ``kotlinx.serialization`` library. The
driver provides an efficient ``Bson`` serializer that handles the
serialization of {+language+} objects to BSON data.

Expand Down

0 comments on commit 050ac55

Please sign in to comment.