ChilliCream / ChilliCream/graphql-platform

Strawberry Shake: Can we get generated code without underscores?

Open
#5,037 5 comments 2 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?

Underscores in the names of the classes generated by Strawberry Shake end up adding quite a lot of bulk, and also go against our coding style.

The solution you'd like

Would love to see the ability to configure the code generator to not emit underscores in any class/interface/enum/etc... names.

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 issue names no files, tests, or configuration entry point. Start by locating Strawberry Shake's code generator and its configuration model, then trace how class, interface, and enum names are formed. Done means an opt-in setting removes underscores consistently from generated names and is covered for the affected generated types.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.