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

Created async overload for clausules that use a predicate #228

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

danny-bos-developer
Copy link
Contributor

PR regarding dicussion 226:
#226

I've created the async overloads and UnitTests for it.

@danny-bos-developer
Copy link
Contributor Author

I made GetCustomStruct public. There was a build error for this.

Copy link

@Reapism Reapism left a comment

Choose a reason for hiding this comment

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

Great job @danny-bos-developer for creating easy to read, and succinct unit tests. This could be a great fail early scenario generally speaking.

Small suggestion... I would rename the method to be called ExpressionAsync instead of AgainstExpressionAsync since this is extending off the IGuardClause of this library, and the only entry point to this method is via the Against property so it is already explicit via usage of the library.

Great addition! Cheers.

@danny-bos-tata
Copy link
Contributor

@Reapism Thanks Antony and I agree with your suggestion to remove Guard from the method. I only cannot edit any files in my PR.

Some assistance or guidance would be appreciated.

@danny-bos-developer
Copy link
Contributor Author

I need some TLC for this PR please

@Reapism
Copy link

Reapism commented Feb 15, 2023

@danny-bos-developer are you not able to edit the pull request?

@danny-bos-tata
Copy link
Contributor

danny-bos-tata commented Feb 16, 2023 via email

@ardalis
Copy link
Owner

ardalis commented Feb 16, 2023

I'll get it sorted

@danny-bos-tata
Copy link
Contributor

danny-bos-tata commented Feb 16, 2023 via email

@ardalis ardalis merged commit d54c66a into ardalis:main Feb 17, 2023
@ardalis
Copy link
Owner

ardalis commented Feb 17, 2023

Temporarily breaking main with this...

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