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

Change return type to nullable string for System.Security.Claims.PrincipalExtensions.FindFirstValue #32282

Closed
wants to merge 2 commits into from

Conversation

Marusyk
Copy link
Member

@Marusyk Marusyk commented Apr 29, 2021

Just changed string to string? for System.Security.Claims.PrincipalExtensions.FindFirstValue
because it literally says so in XML doc: or null if the claim is not present. FindFirstValue source code also consistent with this.

Addresses #32264

@ghost ghost added area-identity Includes: Identity and providers community-contribution Indicates that the PR has been added by a community member labels Apr 29, 2021
@HaoK
Copy link
Member

HaoK commented May 4, 2021

nullable isn't enabled for identity yet, so this is true in more than just this method

@Marusyk
Copy link
Member Author

Marusyk commented May 4, 2021

so, should I close it for now?

@HaoK
Copy link
Member

HaoK commented May 4, 2021

Yeah, thanks for the PR anyways

@HaoK HaoK closed this May 4, 2021
@Marusyk Marusyk deleted the rmarusyk/32264 branch May 10, 2021 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-identity Includes: Identity and providers community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants