-
Notifications
You must be signed in to change notification settings - Fork 409
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
Fix PLAIN
auth with C# driver
#3012
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3012 +/- ##
==========================================
- Coverage 76.54% 76.44% -0.10%
==========================================
Files 388 390 +2
Lines 21292 21312 +20
==========================================
- Hits 16297 16291 -6
- Misses 4066 4095 +29
+ Partials 929 926 -3
... and 2 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Just few comments 🤗
Setting the API version in the client forces OP_MSG to be used during the handshake and avoids all this messiness. See https://jira.mongodb.org/browse/CSHARP-3516. |
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.
Just minor comments, looks good!
Description
Closes #2516.
[upd] from @rumyantseva: I added a unit test, but I decided against restructuring because it will bring more cyclomatic complexity, and I believe that's the exact reason why things are structured as they are right now.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.