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.
-
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