Skip to content

refactor: auth manager#27638

Open
jrasm91 wants to merge 1 commit intomainfrom
refactor/auth-manager
Open

refactor: auth manager#27638
jrasm91 wants to merge 1 commit intomainfrom
refactor/auth-manager

Conversation

@jrasm91
Copy link
Copy Markdown
Member

@jrasm91 jrasm91 commented Apr 9, 2026

Move user and preferences stores to auth manager

@jrasm91 jrasm91 force-pushed the refactor/auth-manager branch 3 times, most recently from da4242d to 3b50d87 Compare April 9, 2026 03:35
@jrasm91 jrasm91 force-pushed the refactor/auth-manager branch from 3b50d87 to e0f8acb Compare April 9, 2026 16:49
@jrasm91 jrasm91 marked this pull request as ready for review April 9, 2026 17:02
@jrasm91 jrasm91 requested a review from danieldietzler as a code owner April 9, 2026 17:02
Comment on lines +78 to +84
setUser(user: UserAdminResponseDto) {
this.#user = user;
}

setPreferences(preferences: UserPreferencesResponseDto) {
this.#preferences = preferences;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would personally prefer setters (it feels more natural given we already have the getters, and it also seems more ergonomic here) but that's 100% personal preference

Copy link
Copy Markdown
Member Author

@jrasm91 jrasm91 Apr 9, 2026

Choose a reason for hiding this comment

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

I think I want to potentially migrate to events instead and this makes it easier to isolate/track imo

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.

2 participants