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

fix: remove codeHostings when deleting publishers #250

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

bfabio
Copy link
Member

@bfabio bfabio commented Jul 20, 2024

Remove the associated codeHostings when using DELETE on a publisher.

Code hostings are mapped 1-to-1 with a publisher, so they they're part of the resource.
Not deleting them means we'd have dangling code hosting with no publisher, invisible to the API, and that can't be associated to a publisher anymore.

Remove the associated codeHostings when using DELETE on a publisher.

Code hostings are mapped 1-to-1 with a publisher, so they they're part
of the resource.
Not deleting them means we'd have dangling code hosting with no
publisher, invisible to the API, and that can't be associated to a
publisher anymore.
@bfabio bfabio merged commit 5fb2c69 into italia:main Jul 20, 2024
5 of 6 checks passed
@bfabio bfabio deleted the delete-publisher branch July 20, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant