For more detailed information on the Durable Functions Roslyn Analyzer, see these release notes: https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0
If you have any issues with or suggestions for the Durable Functions Analyzer, open an issue, I'd love to hear your feedback!
NuGet package
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask.Analyzers
Updates and Bug Fixes
All changes in this PR ( #1634 )
- Added CancellationTokenAnalyzer. This analyzer flags any CancellationToken used as a parameter in an orchestration trigger method. ( #1526 )
- Fixed a stack overflow exception when using mutually recursive methods. ( #1619 )
- CallActivity invocations are now analyzed in orchestrator trigger methods and methods used in orchestrator methods. ( #1402 )
- A best-effort attempt will now be made to include custom CallActivity extension methods in analysis to ensure the correct input is used. ( #1562 )
- Updated Task.ContinueWith analyzer to work on any task that doesn't use ExecuteSynchronously.
- Removed some of the custom messages that caused descriptions to be too long.