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

Fix bug in QuerBuilder.first() for multiple projections #2824

Merged

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented May 2, 2019

Fixes #2808

If first() was used for a query where more than one entities were
being projected, in the case of ['*'] projections, the backend
instances were returned instead of the front end implementation.

@sphuber sphuber requested a review from giovannipizzi May 2, 2019 12:25
If `first()` was used for a query where more than one entities were
being projected, in the case of `['*']` projections, the backend
instances were returned instead of the front end implementation.
@sphuber sphuber force-pushed the fix_2808_querybuilder_first_return_type branch from c63215a to a43457c Compare May 2, 2019 13:14
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 71.704% when pulling a43457c on sphuber:fix_2808_querybuilder_first_return_type into 16f105e on aiidateam:develop.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 71.704% when pulling a43457c on sphuber:fix_2808_querybuilder_first_return_type into 16f105e on aiidateam:develop.

@sphuber sphuber merged commit 68b33b2 into aiidateam:develop May 2, 2019
@sphuber sphuber deleted the fix_2808_querybuilder_first_return_type branch May 2, 2019 14:15
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.

In develop branch, qb.first() returns implementation node
3 participants