Skip to content

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Oct 1, 2016

This PR provides a fix for a nasty side effect introduced in 2.2.22 causing included object not to be properly included.

Fixes #2786

@flovilmart flovilmart changed the title Issue #2786 Properly handle select/include pairs #2786 Oct 1, 2016
Copy link
Contributor

@steven-supersolid steven-supersolid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

let gameScore = obj.get("gameScore");
let other = obj.get("other");
expect(other).toBeUndefined();
expect(gameScore).not.toBeUndefined();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: jasmine also has toBeDefined()

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

Successfully merging this pull request may close these issues.

query include does not work as expected in conjunction with keys
3 participants