Skip to content

Strawberry shake generating duplicate members when multiple File Inputs exist on the same type #9559

Description

@BickelLukas

Product

Strawberry Shake

Version

15.1.14

Link to minimal reproduction

https://github.com/BickelLukas/Hot-chocolate-File-repro

Steps to reproduce

Checkout the repro and try to build. The build fails with
Type 'CreateTaskMutation' already defines a member called 'MapFilesFromTypeFileUpload' with the same parameter types and A local variable or function named 'u' is already defined in this scope in the generated code

What is expected?

The method should only be generated once and the build should work

What is actually happening?

Errors in the generated code

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions