Skip to content

DOCSP-38345: session converted to struct #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2024

Conversation

rustagir
Copy link
Collaborator

@rustagir rustagir commented May 1, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-38345
Staging

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link
Collaborator

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rustagir rustagir requested a review from matthewdale May 6, 2024 18:16
@@ -58,7 +58,7 @@ Methods
-------

After you start a session by using the ``StartSession()`` method, you can modify
the session state by using the method set provided by the ``Session`` interface. The
the session state by using the method set provided by the ``Session`` struct. The
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type here isn't as important as the name. Consider referring to the value by name.

Suggested change
the session state by using the method set provided by the ``Session`` struct. The
the session state by using the method set provided by the returned ``Session``. The

@@ -123,7 +123,7 @@ following table describes these methods:
| **Parameter**: ``Context``
| **Return Type**: none

The ``Session`` interface also has methods to retrieve session
The ``Session`` struct also has methods to retrieve session
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to above, the type isn't important to the description of the behavior. Consider referring to the value by name.

Suggested change
The ``Session`` struct also has methods to retrieve session
A ``Session`` also has methods to retrieve session

@rustagir rustagir requested a review from matthewdale May 21, 2024 16:19
Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

@rustagir rustagir merged commit 831ec78 into mongodb:master May 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants