Skip to content

Dbgen does not properly update variant types  #156

Description

@HenriChataing

Using MongoDb, updates on optional fields corrupt the database.

Test case : edited is an optional field of a record type stored in the database, and initially equals {none}. At some point, the field is updated :

/path/to/[..]/edited <- {some: Date.now()}

With the following result, in MongoDb :

 "edited" : {
    "none" : null,
    "some" : ISODate("2014-07-23T11:46:07.579Z")
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions