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

bff - Make user service methods async #1738

Conversation

Erwinvandervalk
Copy link
Contributor

@Erwinvandervalk Erwinvandervalk commented Jan 28, 2025

The DefaultUserService methods are now async.

Breaking change

If you have extended the DefaultUserService class and have overwritten either the .GetUserClaims() and/or .GetManagementClaims() method, you'll find now that these have now been replaced with async methods:

GetUserClaimAsync() and GetManagementClaimsAsync().

fixes #1702

@Erwinvandervalk Erwinvandervalk added impact/breaking The fix or change will be a breaking one area/bff Related to all BFF labels Jan 28, 2025
@Erwinvandervalk Erwinvandervalk added this to the bff-3.0.0 milestone Jan 28, 2025
@Erwinvandervalk Erwinvandervalk force-pushed the bff-async-DefaultUserService branch from f4165ed to 40c87cd Compare January 28, 2025 10:50
Copy link
Member

@josephdecock josephdecock left a comment

Choose a reason for hiding this comment

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

I'm surprised we didn't have to update any tests for this. I suppose our integration tests are excercising this code, without directly referencing the method names and signatures, so I guess it makes sense?

@Erwinvandervalk Erwinvandervalk merged commit 0ec1f90 into DuendeSoftware:main Jan 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bff Related to all BFF impact/breaking The fix or change will be a breaking one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async GetUserClaims, GetManagementClaims
2 participants