[CSHARP-4204] EncryptOpts queryType should accept a string consistent with queryType in encryptedFields Created: 12/Jun/22  Updated: 14/Jul/22  Resolved: 25/Jun/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Spec Change Priority: Unknown
Reporter: PM Bot Assignee: Dmitry Lukyanov (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates MONGOCRYPT-441 Accept string values for QueryType an... Closed
Issue split
split from DRIVERS-2352 EncryptOpts queryType should accept a... Implementing
Upstream Changes Summary:

DRIVERS-2352:

Bindings Changes

Upgrade to libmongocrypt 1.5.0-rc2. Binaries can be downloaded from the upload-all task.

Bindings in the libmongocrypt repository were updated in MONGOCRYPT-414. Drivers with bindings outside of the libmongocrypt repo will need to update bindings code.

Replace calls of mongocrypt_ctx_setopt_index_type with mongocrypt_ctx_setopt_algorithm.

Update calls of mongocrypt_ctx_setopt_query_type to use the string "equality".

Driver Changes

Change EncryptOpts.QueryType from an enum to a string. See the specification change here: https://github.com/mongodb/specifications/commit/cb58ded938146fcbce2b04a91d09f72d66832603.

See the C driver changes for reference: https://github.com/mongodb/mongo-c-driver/commit/fe2bae72bc733515d766a46a8799783667396590


 Description   

This ticket was split from DRIVERS-2352, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 14/Jul/22 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-4204: EncryptOpts queryType should accept a string consistent with queryType in encryptedFields. (#379)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/dc3ceda83013332ce13541b3a0c3941855b3ca8b

Generated at Wed Feb 07 21:47:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.