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

Create interfaces such as ICurrentUser and ICurrentEmployee #243

Merged
merged 13 commits into from
Mar 9, 2024
Merged

Conversation

MrDave1999
Copy link
Member

These interfaces avoid injecting the service called ClaimsPrincipal into the methods of each use case.

ClaimsPrincipal is a technical name, so it does not fit the language of the domain. It is also not such a descriptive name.
The purpose is to inject services such as ICurrentUser and ICurrentEmployee into the constructors of each use case.

@MrDave1999 MrDave1999 marked this pull request as ready for review March 9, 2024 18:37
@MrDave1999 MrDave1999 merged commit 24c2b30 into dev Mar 9, 2024
1 check passed
@MrDave1999 MrDave1999 deleted the patch-18 branch March 9, 2024 18:38
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