Skip to content

Fix query_type doc to include Range algorithm in ClientEncryption#encrypt - #3094

Closed
comandeo-mongo with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-review-comment-3664521169
Closed

Fix query_type doc to include Range algorithm in ClientEncryption#encrypt#3094
comandeo-mongo with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-review-comment-3664521169

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown

The query_type option documentation in ClientEncryption#encrypt only mentioned the "Indexed" algorithm and "equality" as the sole allowed value, diverging from the actual implementation in ExplicitEncryptionContext, which accepts query_type for both "Indexed" and "Range" algorithms with values "equality" and "range".

Changes

  • lib/mongo/client_encryption.rb: Updated @option query_type doc to reflect that it applies to both "Indexed" and "Range" algorithms, and that allowed values are "equality" and "range".

Copilot AI changed the title [WIP] Fix code for review comment 3664521169 Fix query_type doc to include Range algorithm in ClientEncryption#encrypt Jul 28, 2026
Copilot AI requested a review from comandeo-mongo July 28, 2026 10:07
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.

2 participants