Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1361

EncryptOpts queryType should accept a string consistent with queryType in encryptedFields

    XMLWordPrintable

Details

    • Spec Change
    • Status: Closed
    • Unknown
    • Resolution: Duplicate
    • None
    • None
    • None
    • Hide

      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

      Show
      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbeng-pm-bot PM Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: