Add support for pointers to reflect.Kind types

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With GODRIVER-494, new codecs were built for many of the base reflect.Kind types. These handle the base case of a non-pointer to those kinds, but there are circumstances in which a pointer to the kind should be handled. To enable this, the reflect.Kind codecs need to properly handle a pointer to the kind and the decode path needs to handle a pointer to a pointer to the kind.

      A nil pointer maps to a BSON Null and a BSON Null maps to a nil pointer, so this functionality should be added.

      Additionally, all of the BSON primitive type codecs should support pointers to their types.

              Assignee:
              Kristofer Brandow (Inactive)
              Reporter:
              Kristofer Brandow (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: