querybuilder icon indicating copy to clipboard operation
querybuilder copied to clipboard

Adding .ConfigureAwait(false) to async library code

Open BitWizJason opened this issue 2 years ago • 0 comments

Missing .ConfigureAwait(false) on async method calls was causing deadlocks in our application. Added modifier to all async methods in QueryBuilder and SqlKata.Execution libraries. Also added ConfigureAwaitChecker.Analyzer nuget package to help enforce continued use of .ConfigureAwait(false) through warnings in the code if it is missing. Nuget package added to both projects.

BitWizJason avatar Feb 14 '22 15:02 BitWizJason