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

Unions on nested objects return incorrect values ~13 #30

Closed
marshallswain opened this issue Jul 25, 2016 · 0 comments
Closed

Unions on nested objects return incorrect values ~13 #30

marshallswain opened this issue Jul 25, 2016 · 0 comments
Assignees
Labels

Comments

@marshallswain
Copy link
Member

var algebra = new set.Algebra( );
var union = algebra.union(
    {sort: {name: 1}},
    {sort: {name: 1}}
);

I would expect union to be

{
   "sort": {name: 1}
}

But it's coming back as

{
  "name": 1,
  "sort": {
    "name": 1
  }
}

I've set this test up, already, in this PR: #25

@marshallswain marshallswain changed the title Unions on objects return incorrect values Unions on nested objects return incorrect values Jul 25, 2016
@justinbmeyer justinbmeyer added the p2 label Sep 1, 2016
@justinbmeyer justinbmeyer changed the title Unions on nested objects return incorrect values Unions on nested objects return incorrect values ~13 Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants