Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5608

Int32ToStringTemplate and LongToStringTemplate unused in bson-transpiler

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Problem Statement/Rationale

      The Int32ToStringTemplate and LongToStringTemplate appear to be unused, even in the new Long().toString() tests.

      Steps to Reproduce

      Change the implementation to nonsense and the tests still pass.

      Expected Results

      For the template to be used for converting int32 and long to string.

      Actual Results

      StringTypeTemplate seems to be used instead

      Additional Notes

      n/a

      Attachments

        Activity

          People

            Unassigned Unassigned
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: