Keep track of discriminator_mapping in Parent

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      When given a document in the past, to figure out which class it belonged to, one could just look at the `_type` field and constantize the class there. Now that the discriminator value is no longer the class name, we have to keep a mapping of discriminator value to class name.

            Assignee:
            Neil Shweky (Inactive)
            Reporter:
            Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: