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 query alias batching issue #493

Merged
merged 4 commits into from
Aug 1, 2016
Merged

Conversation

Poincare
Copy link
Contributor

@Poincare Poincare commented Aug 1, 2016

Fixes #490.

TODO:

  • Update CHANGELOG.md with your change
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass

@Poincare Poincare changed the title Query alias batching issue Fix query alias batching issue Aug 1, 2016
// If this field has been aliased, then we need the alias name
// (as opposed to the field name) as the key of the result
// structure that we return.
const keyName = field.alias ? field.alias.value : field.name.value;
Copy link
Contributor

Choose a reason for hiding this comment

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

resultKeyNameFromField in storeUtils already does this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed @stubailo

@Poincare Poincare merged commit 145588a into master Aug 1, 2016
@Poincare Poincare deleted the query_alias_batching_issue branch August 1, 2016 22:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants