Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

refactor: manage address vault wide #410

Merged
merged 13 commits into from Jan 18, 2023
Merged

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Jan 14, 2023

Right now, addresses are linked to contacts. However many more objects need an address: Company, Life Event, etc..
We need to associate addresses to vaults, not contacts.

This also will solve somewhat the use case described in #341 , as well as #408

@djaiss djaiss marked this pull request as ready for review January 16, 2023 01:20
@djaiss djaiss requested a review from asbiin January 16, 2023 01:20
@sonarcloud
Copy link

sonarcloud bot commented Jan 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

92.5% 92.5% Coverage
3.3% 3.3% Duplication

Copy link
Member

@asbiin asbiin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's ok, but just 1 question: if we don't delete the address anymore, but only detach it from the contact, then what will trigger destroying an address after it's not used anywhere?

@djaiss djaiss merged commit ab7583b into main Jan 18, 2023
@djaiss djaiss deleted the 2023-01-13-refactor-address branch January 18, 2023 01:59
asbiin pushed a commit to monicahq/monica that referenced this pull request Mar 31, 2023
asbiin pushed a commit to monicahq/monica that referenced this pull request May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants