Skip to content

Build fails due to missing global prefix #8488

@aidy-jenkins

Description

@aidy-jenkins

Product

Strawberry Shake

Version

15.1.8

Link to minimal reproduction

https://github.com/aidy-jenkins/StrawberryShakeIssueReproduction/tree/master

Steps to reproduce

Attempting to build a project whose namespace contains "System" and uses a Strawberry Shake client fails

What is expected?

The build should succeed

What is actually happening?

The build fails because due to failed namespace resolution in auto-generated code

Image

Relevant log output

Additional context

Seems to have been introduced in this pull: #8296

The ArrayType in OperationServiceGenerator.cs is missing a global:: prefix

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions