Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1109

ConstructorParameter should have stable generation for multiple parameters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Core API
    • None

    Description

      The drivergen.Operation.ConstructorParameter method iterates the map of request fields, which has an undefined order. This can be fixed by iterating the keys into a []string, sorting that slice, and then iterating it, looking up the keys in the map for the drivergen.RequestField.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: