Questions tagged [strawberryshake]
15 questions
7
votes
2 answers
c# .net build error due to strawberry shake graphql client error - "access to the path 'obj\\berry' is denied"
Recently I updated my visual studio to the latest version of 17.5.1 and my target sdk version is NET 7.0 SDK (v7.0.102). Now I have a build error stating that "access to the path 'obj\berry' is denied". Anyone got the same error and suggestion to…

Hash_Dew
- 313
- 1
- 8
4
votes
1 answer
No client is generated with StrawberryShake
I am using Strawberry Shake
The schema seems to be generated just fine
When i build i dont see any generated folder . Seems there is no client generated .
I am doing something wrong here ?

Dotnetsqlcoder
- 862
- 1
- 8
- 19
2
votes
6 answers
C# .Net build failure due to strawberryshake error - Method not found: 'Void StrawberryShake.CodeGeneration.CSharp.CSharpGeneratorSettings
I have a .net 6 project which uses strawberryshake 12.18.0 grahpql client. It build in my local environment. But when it runs in Azure pipeline it fails to build the project due to below error.
Error SS0006: Method not found: 'Void…

Hash_Dew
- 313
- 1
- 8
2
votes
1 answer
Strawberry Shake Code Generation cannot resolve type reference 'None:Any'
I try to use Strawberry Shake to generate Code from Querys in my Client.
I created a Demo Project and do all the Steps in the Documentation
I can succesfull init it with this command dotnet graphql init https://parseapi.back4app.com/graphql -n…

Evi
- 101
- 1
- 7
2
votes
1 answer
Strawberry Shake graphql init - use ssl certificate
I am just starting out using Strawberry Shake to generate a client for a GraphQL API.
I have run through the Getting Started, but the API I am connecting to requires SSL Cert authentication.
I can successfully connect to the API using Postman and…

Shevek
- 3,869
- 5
- 43
- 63
1
vote
1 answer
Detect and handle when StrawberryShake Subscription connection wasn't successful
I have two asp.net applications running locally in development mode. One is running HotChocolate as the GraphQL server and working well. The second application is attempting to run StrawberryShake GraphQL client and access a subscription.
The…

Icode4food
- 8,504
- 16
- 61
- 93
1
vote
2 answers
Getting ambiquity issues with auto generated code from StrawberryShake (GraphQL)
I'm getting abiquity issues when using the auto generated code from the StrawberryShake.CodeGeneration.CSharp.Analyzers. First time using this package so I might have done something silly.
Image of error in visual studio CS0121
I've tried…

Jeff-GPE
- 13
- 3
1
vote
0 answers
How to generate C# scripts from GraphQL properly with Strawberry Shake in a Blazor Project
I am using a .NET Core 5 & Blazor together. I have also created a nice simple GraphQL API. But to start I just followed the tutorial Getting Started With Strawberry Shake and Blazor. By the way, the version of Strawberry Shake is 12.7.0. I followed…

jwize
- 4,230
- 1
- 33
- 51
1
vote
1 answer
Nuget package is not compatible, but in the supported-list (StrawberryShake.Tools)
I got this message after creating a new .NET 5-project (in VS2019) and trying to install nuget-package StrawberryShake.Tools. This seems a bit strange, since it says both that it is and it isnt compatible with "net5.0…

Cowborg
- 2,645
- 3
- 34
- 51
0
votes
0 answers
Strawberry Shake Graphql and WinForms c#
I created one server with HotChocolate. Now, I want to create Winforms application, but I don't know how to implement GraphQL in winforms.
Do anybody know how to use Strawberry Shake GraphQL in Winforms?
Sorry, I'm new in c#.

Ibragim Mamedov
- 1
- 1
- 1
0
votes
0 answers
Strawberry Shake error using gzip compression
I am following the official Strawberry Shake guide: https://chillicream.com/docs/strawberryshake/v13/get-started/console
Specifically Step 4: Add a GraphQL client to your project using the CLI tools
I run this command:
dotnet graphql init…

Baxter
- 5,633
- 24
- 69
- 105
0
votes
0 answers
StrawberryShake and receiving data from graphql with brotli compression
I try to connect in a c# application with Strawberryshake a graphql server that compress the response
when there is a lot of data to return.
With small responses there is no problem, i receive json with my answers on my graphql query
But with big…
0
votes
0 answers
StrawberryShake - Disable regenerating client code at each build
I have a tyical .net 7 client application with StrawberryShake v.12.20.
When I compile and test the app locally, everything works fine. But when I upload it to our CI/CD pipeline (using Autobahn and docker) it fails at the dotnet test command. The…

Luca
- 371
- 4
- 15
0
votes
1 answer
GraphQL Strawberry Shake client execution strategy
I built a HotChocolate service and a strawberry client according to the documentation on the chillcream website. Here is my client code:
namespace strawberry_shake_graphql_client
{
internal class Program
{
static IServiceCollection…

Siraf
- 1,133
- 9
- 24
0
votes
1 answer
HotChocolate mutation input type uses int instead of ID
I am new to HotChocolate and GraphQL as a whole and am trying to grasp on enabling Nodes and/or Relay support for my GraphQL API. Currently using HotChocolate v12.
Context
I am trying to create a mutation that updates an entity (Client in this…

jerbersoft
- 4,344
- 9
- 42
- 48