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

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
    • Labels:
      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:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: