Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5335

Verify all fields store values in the declared type

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Mongoid permits applications to declare field types. However it does not always ensure the values written to the fields are of the declared type.

      This was an issue previously for regexp fields (https://jira.mongodb.org/browse/MONGOID-4668) and this came up again for time fields (https://github.com/mongodb/mongoid/pull/5245).

      This ticket is to investigate all of the defined field types, verify that they store values in the declared type, and to create follow-up tickets for types that need to be corrected.

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: