Skip to content

fix: use requested alias for result metadata#150

Merged
aaron-steinfeld merged 5 commits intomainfrom
fix-alias
Jan 4, 2022
Merged

fix: use requested alias for result metadata#150
aaron-steinfeld merged 5 commits intomainfrom
fix-alias

Conversation

@aaron-steinfeld
Copy link
Copy Markdown
Contributor

@aaron-steinfeld aaron-steinfeld commented Dec 10, 2021

Description

In prior iterations EQS disregarded the alias being provided when naming its response columns, which is kind of the whole point of an alias :). This change fixes that.

Testing

Added UT, Verified still working E2E.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 10, 2021

Codecov Report

Merging #150 (3938561) into main (f1ddcf1) will increase coverage by 0.21%.
The diff coverage is 92.30%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #150      +/-   ##
============================================
+ Coverage     62.26%   62.47%   +0.21%     
- Complexity      332      336       +4     
============================================
  Files            43       43              
  Lines          3254     3251       -3     
  Branches        380      380              
============================================
+ Hits           2026     2031       +5     
+ Misses         1045     1037       -8     
  Partials        183      183              
Flag Coverage Δ
integration 62.47% <92.30%> (+0.21%) ⬆️
unit 43.15% <92.30%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...e/entity/query/service/EntityQueryServiceImpl.java 79.31% <92.30%> (+2.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1ddcf1...3938561. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@aaron-steinfeld aaron-steinfeld marked this pull request as ready for review December 30, 2021 03:15
@aaron-steinfeld aaron-steinfeld requested a review from a team December 30, 2021 03:15
@github-actions

This comment has been minimized.

@sarthak77
Copy link
Copy Markdown
Member

Since this is a small PR, can we also fix snyk in this PR ?

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@aaron-steinfeld
Copy link
Copy Markdown
Contributor Author

@hypertrace/query-layer-owners please review.

@aaron-steinfeld aaron-steinfeld merged commit 4febfad into main Jan 4, 2022
@aaron-steinfeld aaron-steinfeld deleted the fix-alias branch January 4, 2022 14:45
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2022

Unit Test Results

  33 files  ±0    33 suites  ±0   26s ⏱️ +7s
152 tests +1  152 ✔️ +1  0 💤 ±0  0 ❌ ±0 

Results for commit 4febfad. ± Comparison against base commit f1ddcf1.

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.

3 participants