-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature/pdct-1777-support-multiple-geos-in-get #268
Merged
odrakes-cpr
merged 32 commits into
main
from
feature/pdct-1777-support-multiple-geos-in-get
Jan 8, 2025
Merged
feature/pdct-1777-support-multiple-geos-in-get #268
odrakes-cpr
merged 32 commits into
main
from
feature/pdct-1777-support-multiple-geos-in-get
Jan 8, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Have had to rework this one slightly because the get_query function for families has been updated for multi geos, the query no longer returns a row with the geography table and family geo table joined. As a query for a family will return multiple rows if there are more than one geography associated - these are now aggregated into a list of geographies. Therefore the filtering would no longer work, i have flipped the script and included a subquery that retrieves families import ids associated with the geographies and then filters the query based on those.
katybaulch
reviewed
Jan 6, 2025
katybaulch
reviewed
Jan 6, 2025
katybaulch
reviewed
Jan 6, 2025
katybaulch
reviewed
Jan 6, 2025
katybaulch
reviewed
Jan 6, 2025
katybaulch
reviewed
Jan 6, 2025
…t does this is so we can progressively make the change and not risk breaking search
odrakes-cpr
commented
Jan 6, 2025
…ub.com:climatepolicyradar/navigator-admin-backend into feature/pdct-1777-support-multiple-geos-in-get
odrakes-cpr
changed the title
feat: WIP - update query to accomodate for multi geos related to a fa…
feature/pdct-1777-support-multiple-geos-in-get
Jan 6, 2025
katybaulch
approved these changes
Jan 8, 2025
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, nice work!!
…ub.com:climatepolicyradar/navigator-admin-backend into feature/pdct-1777-support-multiple-geos-in-get
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Support multiple geographies in the get request.
Please include:
Proposed version
Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.
Visit the Semver website to understand the
difference between
MAJOR
,MINOR
, andPATCH
versions.Notes:
used -- e.g. Major > Minor > Patch
sure your selected option is marked
[x]
with no spaces in between thebrackets and the
x
Type of change
Please select the option(s) below that are most relevant:
How Has This Been Tested?
Please describe the tests that you added to verify your changes.
Reviewer Checklist