ChilliCream / ChilliCream/graphql-platform

Allow for StrawberryShake clients to rename enum values

Open
#5,559 0 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

Is your feature request related to a problem?

Within my strawberry-shake client, I want to rename enum values to match existing enums within our codebase.

The solution you'd like

I'd like to be able to use a client directive @rename (or possibly @enumValue) and have that impact enum values in C# generated by Strawberry Shake.

Product

Strawberry Shake

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

The request concerns Strawberry Shake-generated C# enum values and a proposed client directive such as @rename or @enumValue. No files, tests, or entry points are named, so begin by locating Strawberry Shake enum generation and directive handling. Done means a decided directive design that renames generated enum values to match existing C# enums.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.