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

Makes sure pointer includes are interpolated as get #2747

Merged
merged 3 commits into from
Sep 24, 2016
Merged

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Sep 20, 2016

Let the $in query for the includes be interpolated as a get to pass through the CLP preferences (as it's a series of get that's optimized as a $in)

Fixes #2005

@flovilmart flovilmart changed the title Issue #2005 Makes sure pointer includes are interpolated as get Sep 20, 2016
@flovilmart flovilmart added this to the 2.2.22 milestone Sep 22, 2016
Copy link
Contributor

@drew-gross drew-gross left a comment

Choose a reason for hiding this comment

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

Just one comment otherwise looks good

@@ -711,10 +711,10 @@ DatabaseController.prototype.find = function(className, query, {
acl,
sort = {},
count,
} = {}) {
} = {}, op) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you put this parameter in the options arg instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep definitely :)

@ghost
Copy link

ghost commented Sep 24, 2016

@flovilmart updated the pull request - view changes

@flovilmart flovilmart merged commit b5af4d0 into master Sep 24, 2016
@flovilmart flovilmart deleted the issue-#2005 branch September 24, 2016 18:54
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.

2 participants