Skip to content
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

Move URLMigrationService annotation queries to annotations service #7929

Closed
wants to merge 2 commits into from

Conversation

jon-betts
Copy link
Contributor

@jon-betts jon-betts commented Apr 6, 2023

For:

This PR moves the queries that the URLMigrationService makes to retrieve annotation to the annotation service. This accumulates related code in the same place and simplifies the URLMigrationService and it's tests.

This also paves the way to replace the update_annotation call made in URLMigrationService with a method in the annotation service as well.

Jon Betts added 2 commits April 6, 2023 14:29
… queries

This also involves basically re-doing the tests. This moves to a style which
attempts to test the method in order of the calls, instead of separate tests
for every element, which is much more compact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant