ChilliCream / ChilliCream/graphql-platform
Schema contains type already defined in strawberry shake
Open
@michaelstaib is already working on this.
Since Aug 31, 2022.
🌶️ strawberry shake
repro-validated
- 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
im currently using strawberry shake to generate a http client to communicate with a graphQL api.
in the schema a type 'Uri' is defined with the following :
type Uri
{
path: String!
}
however, compiling my project with this in my schema.graphql i get CSC : error SS0006: The name `Uri` was already registered by another type.. I assume it is confusing it with System.Uri?
i have no control over the api's schema so im stuck with this and fixing it on my client's side.
Steps to reproduce
git clone git@github.com:DacoTaco/TicketSwapPoller.git- Uncomment the following in
TicketSwapPoller/schema.graphql:#type Uri #{ # path: String #} dotnet build
Relevant log output
No response
Additional Context?
No response
Product
Strawberry Shake
Version
13.8.1
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.
Assessment
This issue has not been assessed yet.