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

All the field names are saved /converted lowercase

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      I have a struct as below. After storing it I've found (to my horror) that all the field names have been converted to a lowercase version. 

      type Order struct

      {     TransactionID string     InvoiceID int     ID string } { "_id" : "efaa0eab-1200-439d-a9bc-5783e6574aaf",  "transactionid" : "sample transaction ID", "invoiceid" : NumberLong(1), "id" : "efaa0eab-1200-439d-a9bc-5783e6574aaf"}

      Attachments

        Activity

          People

            Unassigned Unassigned
            themihai Mihai B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: