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

Add NullOrEmpty and NullOrWhiteSpace overloads for ReadOnlySpan<char> #237

Merged
merged 6 commits into from
Feb 15, 2023

Conversation

KonH
Copy link
Contributor

@KonH KonH commented Oct 9, 2022

Related to #220

Copy link
Contributor

@Marvin-Brouwer Marvin-Brouwer left a comment

Choose a reason for hiding this comment

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

I have some possible suggestions

src/GuardClauses/GuardAgainstNullExtensions.cs Outdated Show resolved Hide resolved
src/GuardClauses/GuardAgainstNullExtensions.cs Outdated Show resolved Hide resolved
@KonH
Copy link
Contributor Author

KonH commented Oct 10, 2022

It looks like all changes are made

@Marvin-Brouwer
Copy link
Contributor

The code looks great to me, I just spotted one last thing.
I see the extensions are in src/GuardClauses/GuardAgainstNullExtensions.cs but does that filename still make sense since there's no Null being guarded?

@Marvin-Brouwer
Copy link
Contributor

@ardalis I had a check on the PR, is anyone allowed to just approve it?
I can only find something about opening PR's in the contribution guide but not about approving them.

@Reapism
Copy link

Reapism commented Feb 15, 2023

This seems like a good addition to the library. Making an attempt at resurrecting this PR.

@ardalis ardalis merged commit 6d41101 into ardalis:main Feb 15, 2023
@ardalis
Copy link
Owner

ardalis commented Feb 15, 2023

Merged; will try to get a release out this month!

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.

4 participants