Document how to encode subtypes of custom types via callback mechanism

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The API introduced in PYTHON-1750 does not support encoding/decoding subtypes of the types for which encoders have been registered. This design choice was motivated by ease of implementation and (ii) simplicity of user-facing API. 

      We should add an example/tutorial to the documentation on how to use the new API to register multiple subtypes with the same type codec (in addition to a vanilla example that demonstrates how to use the new feature).

              Assignee:
              Prashant Mital (Inactive)
              Reporter:
              Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: