-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
Strawberry Shake produces CS8604 #3985
Comments
Just encountered this as well, any chance of it being addressed, or is there perhaps a workaround/config setting? |
I've run into this as well but with a slightly different scenario: https://github.com/danielstarck/strawberry-shake-cs8604-repro. Remove either |
This is still happening in 12.18.0 (StrawberryShake.CodeGeneration.CSharp.Analyzers) as well as in the newer 13.0.5 StrawberryShake.Server |
Fixed in #7033. Available in 14.x. |
Describe the bug
Using Strawberry Shake 12 preview 26 I get CS8604 (Possible null reference argument for parameter).
To Reproduce
https://github.com/glen-84/hc-3985 (.NET 8, SS 13.8.1)
Steps to reproduce the behavior:
Use the following schema:
the following query:
and the following config:
This produces the following code:
Expected behavior
The generated code should not produce warnings.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: