-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fixes bug related to subqueries on unfetched objects #1046
Conversation
…n unfetched objects
5d886f0
to
3ed3982
Compare
@flovilmart updated the pull request. |
return subquery.execute().then((response) => { | ||
var values = []; | ||
for (var result of response.results) { | ||
values.push({ | ||
__type: 'Pointer', | ||
className: notInQueryValue.className, | ||
className: subquery.className, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the subquery.className as it may have been mutated by redirectClassNameForKey
Current coverage is
|
@flovilmart updated the pull request. |
Fixes bug related to subqueries on unfetched objects
fixes #1014