-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add code analyzer #253
Comments
Hey @jviau, is it ok if we close this issue in favor of more specific ones? |
It doesn't seem that the Analyzer is catching any of these errors e.g.
|
Hey @Alan-Hinton, how are you using the Analyzer? Did you manually add a reference to this assembly? I tested your snippet, and the analyzer were able to catch the 3/4 expected errors: The direct async function call detection is not supported yet, you are right. |
I followed the instructions, in the readme of this repo, to add the 'preview-1' version of the analyzer. I look forward to the release of the new version with these improvements. Hopefully this issue will be closed when the new version is released, so I get a notification. |
This issue is copied from Azure/azure-functions-durable-extension#2682. Original author is @Alan-Hinton
Is your feature request related to a problem? Please describe.
Durable functions are very useful, however there are multiple gotchas that the compiler doesn't catch. We use isolated mode c# function apps so we don't have access to the Analyzer to help us avoid these issue at build time. These issues therefore take much longer to find and fix at runtime.
Are there any existing GitHub discussions or issues filed that help give some context to this proposal?
Not that I can see
Describe the solution you'd like
I would like the durable function Analyzer to work for isolated mode c# function apps.
Describe alternatives you've considered
At the moment we are hitting errors at runtime and then fixing them. Rather than seeing them at build time.
Additional context
Common durable function gotchas (not sure which of these the Analyzer handles)
The text was updated successfully, but these errors were encountered: