-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/pdct 1780 support multiple geos in update #278
Feature/pdct 1780 support multiple geos in update #278
Conversation
- function that retrieves the list of geo ids from the geo repo, based on the iso codes thats provided in the payload. It validates these iso codes at the same time returning an error if the geography does not exist in the db
this will currently have a default value of none, so that it works with front end requests until the payload data is also updated
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.
Nice work! Couple of comments 💬
…oes not break any requests made by the front before multi geos is implemented
if the array of geo ids coming through is empty, i.e it was not passed int he payload as expected (the frontend hasnt been updted for multi geos we do nowt and carry on
…d multi geos has been implemented
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.
Missing a RepoError raise for geography add but otherwise super great, well done!!!! 🦖
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.
very nice!!!!
Description
Update the update endpoint to allow for the editing of multiple geographies.
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?
Updated the integration tests and the service / repository layer tests where appropriate
Reviewer Checklist