codeforboston / codeforboston/police-data-trust
Add location linking to PATCH `/agency/{agency_uid}`
Open
backend
- Dominant language
- Python
- Stars
- 64
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
When an agency is created, it is linked to the location nodes that correspond with the entered data. We should add similar logic to the edit function so that the data and node relationships can remain in sync after changes.
After an edit operation, the old locations should be checked to see if they're still valid. If they are not, the old links should be removed and new links should be added.
Contributor guide
Assessment
This issue has not been assessed yet.