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

ConstructorParameter should have stable generation for multiple parameters

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Core API
    • None

      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.

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

              Created:
              Updated:
              Resolved: