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

Add a global "omitempty" flag

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Go Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Received a client request for adding a global "omitempty" flag (see https://mongodb.aha.io/ideas/ideas/FF-I-7681).

      Currently in order to avoid writing null value in a MongoDB document we need to specify omitempty for each field of the structure. Would be useful to have the possibility to define this globally

            Assignee:
            Unassigned Unassigned
            Reporter:
            julia.tazin@mongodb.com Julia Tazin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: