ChilliCream / ChilliCream/graphql-platform

Debug schema added to .graphqlrc.json

Open
#8,455 2 comments 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

Product

Strawberry Shake

Version

15.1.3

Link to minimal reproduction

local

Steps to reproduce

When developing in Visual Studio 2022, at some point the root .graphqlrc.json file is modified and now contains the schema and document files in the bin\Debug directory:

Image
What is expected?

The .graphqlrc.json file writer ignores the files in the bin directory.

What is actually happening?

Schema files in bin are added to .graphqlrc.json.

Relevant log output

Additional context

In one project I've made .graphqlrc.json read-only. This causes some warnings every once in a while but the project works fine.

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 by reproducing the Visual Studio 2022 workflow that modifies the root .graphqlrc.json and inspect how its file writer discovers schema and document files under bin\Debug. Confirm that files in the bin directory are included, then verify that the generated .graphqlrc.json excludes them without requiring the file to be read-only.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.