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

IOS-174: Don't persist followers #1137

Merged
merged 8 commits into from
Nov 10, 2023
Merged

Conversation

zeitschlag
Copy link
Contributor

@zeitschlag zeitschlag commented Oct 25, 2023

tl;dr: Don't use MastodonUser on "Followers"-screen, but Mastodon.Entity.Account

@zeitschlag zeitschlag changed the title WIP: Remove coredata/followers WIP: Don't persist followers Oct 25, 2023
@zeitschlag zeitschlag force-pushed the remove_coredata/followers branch from d9d9a3c to ed98024 Compare October 25, 2023 16:18
@zeitschlag zeitschlag force-pushed the remove_coredata/followers branch from 86ecbde to 608d2a5 Compare November 5, 2023 20:12
Base automatically changed from remove_coredata/following to develop November 9, 2023 10:01
@zeitschlag zeitschlag force-pushed the remove_coredata/followers branch from dffd84d to 611d92d Compare November 9, 2023 10:33
@zeitschlag zeitschlag force-pushed the remove_coredata/followers branch from 611d92d to 83e4584 Compare November 9, 2023 10:50
@zeitschlag zeitschlag requested a review from kimar November 9, 2023 11:12
@zeitschlag zeitschlag changed the title WIP: Don't persist followers Don't persist followers Nov 9, 2023
@zeitschlag zeitschlag marked this pull request as ready for review November 9, 2023 11:12
@zeitschlag zeitschlag changed the title Don't persist followers IOS-174: Don't persist followers Nov 9, 2023
Copy link
Contributor

@kimar kimar left a comment

Choose a reason for hiding this comment

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

LGTM 👍 I was just wondering if we could even get rid of MastodonAuthenticationBox.sharedCache finally, as the reason for implementing this has been the incorrect relationships we're keeping in the Database. But I've looked at the code and now I'm uncertain wether the better point in time wouldn't be once MastodonUser has been cleared from CoreData.

@zeitschlag zeitschlag merged commit 093be8b into develop Nov 10, 2023
1 check passed
@zeitschlag zeitschlag added this to the 2023.14 milestone Nov 10, 2023
@zeitschlag zeitschlag deleted the remove_coredata/followers branch November 15, 2023 11:02
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.

2 participants