Skip to content

Strawberry Shake generates random ">" character in function name leading to invalid generated code. #7766

@jimitndiaye

Description

@jimitndiaye

Product

Strawberry Shake

Version

13.9.14 and 14

Link to minimal reproduction

https://github.com/jimitndiaye/StrawberryShake.Testing

Steps to reproduce

The repo linked above has a simple blazor project straight from file->new with the only addition being StrawberryShake and setting up the schema and queries. Attempting to build the project will fail. Commenting out the queries in the NotWorking.graphql file will allow the project to build successfully.

As described in the readme of that project, it seems to be generating an unexpected ">" character when fields of a specified type are used as output (works fine on input).

What is expected?

The linked project should build successfully and the correct code should be generated.

What is actually happening?

Incorrect code is generated by StrawberryShake involving an extra ">" character.

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions