Skip to content

Commit

Permalink
Address technical feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmorisi committed Aug 22, 2024
1 parent 215e694 commit 0321fa5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions source/connect-to-mongo/stable-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ In this guide, you can learn how to specify **{+stable-api+}** compatibility whe
connecting to a MongoDB deployment.

The {+stable-api+} feature forces the server to run operations with behaviors compatible
with the API version you specify. When you update either your driver or server,
the API version changes, which can change the way these operations behave.
Using the {+stable-api+} ensures consistent responses from the server and
provides long-term API stability for your application.
with the API version you specify. Using the {+stable-api+} ensures consistent responses
from the server and provides long-term API stability for your application.

The following sections describe how you can enable and customize {+stable-api+} for
your MongoDB client. For more information about the {+stable-api+}, including a list of
Expand All @@ -58,10 +56,9 @@ The following code example shows how to specify {+stable-api+} version 1:
:copyable:
:dedent:

Once you create a ``MongoClient`` instance with
a specified API version, all commands you run with the client use the specified
version. If you must run commands using more than one version of the
{+stable-api+}, create a new ``MongoClient``.
Once you create a ``MongoClient`` instance with the {+stable-api+}, all commands you
run with the client use the specified {+stable-api+} configuration. If you must run
{+stable-api+} commands using alternative configurations, create a new ``MongoClient``.

.. _java-rs-stable-api-options:

Expand Down

0 comments on commit 0321fa5

Please sign in to comment.