Skip to content

Generated union type classes are empty with SS13.0.5 and .NET7 when using fragments #5992

Description

@svelue

Is there an existing issue for this?

  • I have searched the existing issues

Product

Strawberry Shake

Describe the bug

When creating a client, based on a schema with union types the generated classes does not contain the requested fields when they are requested using fragments.
Same clients are working as expected with SS12.x

Steps to reproduce

StrawberryShakeUnionTypeBug

The repo contains a simple client which shows the error.

Relevant log output

No response

Additional Context?

No response

Version

13.0.5

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions