Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3502

Remove setters in x/mongo/driver/mongocrypt/options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Go Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Addressing the comment at https://github.com/mongodb/mongo-go-driver/pull/1922#discussion_r1976138079, setters in x/mongo/driver/mongocrypt/options add a lot of unnecessary code. We can remove all of them and define the *Options struct literal instead

      Definition of done

      Setters in x/mongo/driver/mongocrypt/options are all removed.

      Pitfalls

      What should the implementer watch out for? What are the risks?

            Assignee:
            Unassigned Unassigned
            Reporter:
            qingyang.hu@mongodb.com Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - Not Specified
                Not Specified