Tag: .net
-
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…
-
Could not load file or assembly ‘System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies
0 When I execute my project and reach this line: Dim response As GraphQLResponse(Of JObject) = graphQLHttpClient.SendQueryAsync(Of JObject)(request).Result I’m getting the following exception: System.IO.FileLoadException: Could not load file or assembly ‘System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File…
-
.Net Manager – NO H1B – Intellect IT – Remote
Intellect IT Remote $90 – $100 Accepts corp to corp applications, Contract: Independent, W2, 12 Month(s) No Travel Required Skills .net azure graphql docker cypress agile react Job Description Role: .Net Manager Location: Remote MUST HAVE: 9+ years of C# .Net Development Please list how many: MUST HAVE: 3+ years Lead or Hands on Management…
-
Error in .net core with postgreSQL and graphQL to get json column for all records
0 I am using .NET Core 7.0 with PostgreSQL and graphQL. I am getting an error when I try to get all records from the database using the below code. When I try to get a single record then it is working fine. Error: The source ‘IQueryable’ doesn’t implement ‘IAsyncEnumerable<Vcp.Doctors.Gql.Models.ProviderInformation>’. Only sources that implement ‘IAsyncEnumerable’…