Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5234

Add Feature Flag: Remove BSON::ObjectId#as_json override

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 7.4.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible

      As discovered in https://github.com/mongodb/mongoid/pull/5054, this method in Mongoid predates the current implementation in bson-ruby and doesn't do anything useful (other than being in the way should we decide to change the bson-ruby implementation). I suggest removing it from Mongoid.

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: