ChilliCream / ChilliCream/graphql-platform
If `name` in .graphqlrc.json file contains a . (period) the codegen fails.
Nobody has claimed this yet.
- 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
Product
Strawberry Shake
Describe the bug
When running dotnet graphql generate the generated code is not completed correctly if the name in the file .graphqlrc.json under extensions --> strawberryShake --> name contains a '.' (ie a period / full stop).
This name was auto generated by the CLI tools because my project name also has a '.' in it.
Steps to reproduce
I'm assuming this will work:
- Create a project called
test.project - Run the CLI tool
dotnet graphql init <someworkingurl> - Create a query
- Run the CLI tool
dotnet graphql generate - Look at the generated code, there will be red squigglies
Relevant log output
No response
Additional Context?
No response
Version
13.0.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a project named test.project, using .graphqlrc.json and the dotnet graphql init and dotnet graphql generate commands. Inspect the generated code after setting the Strawberry Shake name to a value containing a period. Done means generation completes correctly and the generated code has no errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100