Async support #226
Replies: 4 comments
-
These only make sense for custom predicates; seems like a good thing to add. |
Beta Was this translation helpful? Give feedback.
-
Make a PR and add something here I think: https://github.com/ardalis/GuardClauses/blob/main/src/GuardClauses/GuardAgainstExpressionExtensions.cs and I'll accept it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I have created a pull request: #228 |
Beta Was this translation helpful? Give feedback.
-
There was a build error that I have fixed. PR should be good now |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Any chance you can also add extension method to make async predicate calls?
I created an extension of my own, it would be nice if all the Guard.Against api's that use a predicate also have an async variant.
I'm happy to program them out for you unless there are valid arguments against it.
Beta Was this translation helpful? Give feedback.
All reactions