-
Notifications
You must be signed in to change notification settings - Fork 46
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
feat: Order alias target #3217
feat: Order alias target #3217
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3217 +/- ##
===========================================
+ Coverage 77.41% 77.58% +0.16%
===========================================
Files 382 382
Lines 35178 35236 +58
===========================================
+ Hits 27233 27335 +102
+ Misses 6311 6279 -32
+ Partials 1634 1622 -12
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 15 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
}, | ||
testUtils.Request{ | ||
Request: `query { | ||
Users(order: {_alias: {Age: ASC}}) { |
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.
thought: It would be nice to see a test with a compound order query that includes an alias.
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.
added a compound test
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.
LGTM! Just one thought (non-blocking).
## Relevant issue(s) Resolves sourcenetwork#3196 ## Description This PR adds alias targeting to query orderings. **Aggregate targets are not included in this PR as they require more changes.** ## Tasks - [x] I made sure the code is well commented, particularly hard-to-understand areas. - [x] I made sure the repository-held documentation is changed accordingly. - [x] I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in [tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)). - [x] I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ... ## How has this been tested? Added integration tests. Specify the platform(s) on which this was tested: - MacOS
Relevant issue(s)
Resolves #3196
Description
This PR adds alias targeting to query orderings.
Aggregate targets are not included in this PR as they require more changes.
Tasks
How has this been tested?
Added integration tests.
Specify the platform(s) on which this was tested: