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

Add discriminator_key class variable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: Attributes
    • Labels:
      None
    • Fully Compatible

      The discriminator_key class variable will be used to define a custom discriminator field (c.f. the default _type).

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

              Created:
              Updated:
              Resolved: