Tag: .net
-
c# .net build error due to strawberry shake graphql client error – “access to the path ‘obj\berry’ is denied”
8 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 ‘objberry’ is denied". Anyone got the same error and suggestion to fix this issue? c# .net graphql strawberry-graphql strawberryshake Share…
-
c# .net build error due to strawberry shake graphql client error – “access to the path ‘obj\berry’ is denied”
8 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 ‘objberry’ is denied". Anyone got the same error and suggestion to fix this issue? c# .net graphql strawberry-graphql strawberryshake Share…
-
Getting 403 forbidden access is denied after adding reference to another project in same solution [closed]
-1 Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 hours ago. This post was edited and submitted for review 1 hour…
-
Properties with type “object” are ignored in the input types in Hotchocolate GraphQL. Is there a workaround to it?
0 I have an input class that has a single property with "object" object type as shown below: public class FilterParameterValue { public object Value = new object(); } When I start the server, I get the following error: HotChocolate.SchemaException: ‘For more details look at the Errors property. InputObject FilterParameterValueInput has no fields declared. (HotChocolate.Types.InputObjectType<Data.Filter.FilterParameterValue>)…
-
Can you create an embedded Graphql query?
0 I’m attempting to replicate an embedded self-referencing SQL query using GraphQl. The situation is that we have records in a database that are created off of other records by an internal user. The query I am trying to do is to get all of the records of a user and the associated records that…
-
How to create an embedded Graphql query
0 I’m attempting to replicate an embedded self-referencing SQL query using GraphQl. The situation is that we have records in a database that are created off of other records by an internal user. The query I am trying to do is to get all of the records of a user and the associated records that…
-
Ignoring method in my object with HotChocolate GraphQL
0 I have a class that I expose with Hotchocolate and GraphQL. In this class I have some properties and a public method with the following signature : public Expression<Func<Parcelle, bool>> ToLambdaExpression() By default, Hot Chocolate picks up the public method and exposes them as fields in the graphql schema. I managed to ignore them…
-
GraphQL usage with REST Endpoints in .Net core 6.0
0 Since I am new to GraphQL, I don’t really know how to call a REST Endpoint and query the fields accordingly. In particular, I want to fetch certain fields from the entire response of a GET API. What I have learnt is GraphQL sends a POST Request. How do I hit the GET endpoints…
-
HotChocolate configure backend property for filter criteria
0 I have a project using HotChocolate and EFCore where I have the following entities: public class Entity { public int EntityId { get; set; } public string Name { get; set; } public string AuthorId { get; set; } } public class Author { public string AuthorId { get; set; } public string Name…
-
While debugging GraphQL.Client.SendQueryAsync line in the code, the program ends abruptly without any exception
1 I am trying to consume a sample GraphQL api, just to learn it. For that I have created a .Net framework 4.8 based console application, its referencing GraphQL.Client, Abrstractions, Websocket, version 5.1.1.0, etc and Newtownsoft.Json version 13.0.0.0 When I try to debug it, the control disappears from the line graphQLClient.SendQueryAsync Please help me understand…