Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dbgen does not properly update variant types #156

Open
HenriChataing opened this issue Jul 23, 2014 · 0 comments
Open

Dbgen does not properly update variant types #156

HenriChataing opened this issue Jul 23, 2014 · 0 comments

Comments

@HenriChataing
Copy link
Contributor

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")
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant