Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1768

Document how to encode subtypes of custom types via callback mechanism

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.8
    • Affects Version/s: None
    • Component/s: 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 Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: