ChilliCream / ChilliCream/graphql-platform

Strawberry Shake removes interface implements anotherInterface from schema.graphql

Open
#5,558 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🌶️ strawberry shake
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Is there an existing issue for this?
  • I have searched the existing issues
Describe the bug

When defining an interface that implements another interface it is part of schema in BananaCakePop, but it is not part of the schema that is downloaded using the graphql tool. Since it is missing building application fails until I manually adds the implements interface lines.

Steps to reproduce
  1. Use the dotnet graphql download http://localhost/graphql cli command to download a schema that has interface implements interface declaration
  2. Inspect the schema.graphql file and see that the implements anotherInface is gone

Same behaviour in 12.15.2 and 13.0.0-preview.68

Relevant log output

No response

Additional Context?

No response

Product

Strawberry Shake

Version

12.15.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the dotnet graphql download http://localhost/graphql CLI entry point and inspect how it writes schema.graphql. Reproduce the interface-implements-interface case, then verify that the downloaded schema preserves the implements anotherInterface declaration and allows the application to build.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.