-
-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet graphql update
throws an Unhandled exception error
#6745
Comments
Do you have a reproduction repository? |
Might be caused by a BOM. Try saving the |
This is a reproduction repo I made while trying to learn strawberry shake. All the files were generated with the init command I am not supposed to change their encoding. |
This comment was marked as outdated.
This comment was marked as outdated.
I can confirm that removing the bom on the generated Environment: ProductName: macOS |
Ran into this just now as well. If I didn't find this github issue I would have been completely stuck. Probably good to hotfix quickly. |
I confirm the solution done by @kevinoneill .To remove the Bom on linux (or windows with wsl like I did): |
Can confirm the problem and the solution by @Bahri-Haythem |
#6751 has been merged, so in the next release, the files will be written without a BOM. |
Fixed in 13.8.0-preview.1 and 14.0.0-p.16. |
I am still having this issue in version 13.9.9 |
@RichardWhitfield Please create a minimal reproduction of the issue. |
Is there an existing issue for this?
Product
Strawberry Shake
Describe the bug
When I try to use strawberryshake.tools command
dotnet graphql update
, I get an Unhandled exception error. The init and download command works fine.schema.graphql
TestQuery.graphql
The query just returns a simple string:
public string Test => "this is a test";
Steps to reproduce
dotnet graphql update
Relevant log output
Additional Context?
As a workaround I am using init each time to update the schema.graphql file but that changes the .graphqlrc.json each time
Version
13.7.0
The text was updated successfully, but these errors were encountered: