Skip to content
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 generates invalid C# for mutations with multiple uploads #7852

Open
karlanke opened this issue Dec 20, 2024 · 0 comments · May be fixed by #7853
Open

Strawberry Shake generates invalid C# for mutations with multiple uploads #7852

karlanke opened this issue Dec 20, 2024 · 0 comments · May be fixed by #7853

Comments

@karlanke
Copy link

Product

Strawberry Shake

Version

14.3.0

Link to minimal reproduction

N/A

Steps to reproduce

Point StrawberryShake at a schema like:
`input InsuranceUpdate {
...
"The back of the insurance card"
insurance_card_back: Upload

"The front of the insurance card"
insurance_card_front: Upload
...
}`

What is expected?

Valid C# is generated.

What is actually happening?

error CS0128: A local variable or function named 'u' is already defined in this scope

Relevant log output

Additional context

PR incoming.

@karlanke karlanke linked a pull request Dec 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant