-
Notifications
You must be signed in to change notification settings - Fork 33
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
DOCSP-48606: builderEncoder Database #232
DOCSP-48606: builderEncoder Database #232
Conversation
✅ Deploy Preview for docs-php-library ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % 1 tiny nit
source/whats-new.txt
Outdated
- :phpmethod:`Database constructor <MongoDB\Database::__construct()>` | ||
- :phpmethod:`MongoDB\Database::withOptions()` | ||
- :phpmethod:`Collection constructor <MongoDB\Collection::__construct()>` | ||
- :phpmethod:`MongoDB\Collection::withOptions()` methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: Because you say "the following methods" in the lead in text, I don't think you need the word "methods" after the MongoDB\Collection::withOptions()
bullet point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops! that was left over from an earlier commit. fixing
query and aggregation options. If omitted, the ``Database`` | ||
instance uses the default encoder. | ||
|
||
.. versionadded:: 1.21.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be 1.21.
PHPLIB-1646 only fixed a bug with this method not inheriting the existing Database's option.
If builderEncoder
is explicitly provided in the $options
array (which is what this is documenting), it was always passed along to construct the new Database instance.
* DOCSP-48606: builderEncoder Database * wip * AS PR fixes 1 * JM small fix (cherry picked from commit 9a0e1cb)
* DOCSP-48606: builderEncoder Database * wip * AS PR fixes 1 * JM small fix (cherry picked from commit 9a0e1cb)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-48606
Staging -
DB api ref
Collection api ref
whats new
Self-Review Checklist