ActiveJob raises a ActiveJob::SerializationError for BSON::ObjectId parameters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 9.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if you provide a BSON::ObjectId as an argument to an ActiveJob job, Rails will raise a ActiveJob::SerializationError (Unsupported argument type: BSON::ObjectId).

      This PR fixes this, so that BSON::ObjectId is serialized as a string and deserialized back into BSON::ObjectId.

            Assignee:
            Dmitry Rybakov
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: