Questions tagged [graphqlclient]

18 questions
2
votes
1 answer

How to create a console application that uses NetFlix DGS Client

I want to use the excellent-looking DGS Framework from NetFlix to make client calls against a GraphQL service. All the examples I find assume that I'm building a service and the Java GraphQL Client is introduced as something of an afterthought. The…
1
vote
1 answer

GraphQL dotnet Client response not deserializing

When deserializing into a dynamic I can get a response but when I try to deserialize into a typed object I get nothing back. Types being serialized public class User { public string Forename { get; set; } } public class…
John_Mason27
  • 227
  • 4
  • 17
1
vote
0 answers

Netflix's DGS graphql client for upload example

I am new to graphql and I am trying to use graphql client library from Netflix dgs framework to call graphql api from Spring framework based Java client. Most of things are working, but struggling to get Upload mutation work. Any one has any…
Y_K
  • 11
  • 1
1
vote
0 answers

GraphQLHttpClient nested json string c#

I am recieving this response from a GraphQL endpoint: "container": { "id": "X", "containerId": "XYZ", "metaData":"{\"postnummer\": \"9000 Aalborg\", \"ejendomsnr\":…
Kennedine
  • 23
  • 5
1
vote
0 answers

GraphQLHttpClient and CreateSubscriptionStream issue

I'm developing an application in asp.net core where I have to bind the GraphQLHttpClient CreateSubscriptionStream data into MVC view (.cshtml) via (xxxxcontroller.cs). I don't see any code blocks for necessary changes to be done for Startup.cs and…
Kishore
  • 11
  • 1
1
vote
1 answer

GraphQL client for java application

I need a graphQL client for java spring application to communicate with another microservice based on graphQL API. I know about Apollo Android but it seems to be not implemented with maven (maybe you know some links or examples with maven etc). Any…
Ivan
  • 71
  • 8
1
vote
1 answer

Writing mutation graphql-client c#

I tried to write mutation but it gives me error. as {"errors":[{"message":"Syntax Error: Expected $, found Name \"objects\"","locations":[{"line":2,"column":27}],"extensions":{"code":"GRAPHQL_PARSE_FAILED"}}]} The code I wrote is this. …
Namco
  • 43
  • 1
  • 7
1
vote
0 answers

.Net Core 3.1 using GraphQLHttpClient from C#/WPF gets stuck - but works with ConsoleApp

I have created a small GraphQl server - that is working very nicely from Banana Cake Pop. Then I have created a small C#/.Net Core 3.1 WPF App - that has a Class Library that uses GraphQL.Client 3.2.2 and GraphQL.Client.Serializer.Newtonsoft…
ThomasE
  • 369
  • 1
  • 5
  • 19
1
vote
2 answers

Can I send GraphQL queries with an httpclient in .NET core?

Is it possible to send graphQL queries with the standard httpclient in .NET core? When I try to send my query with a client.post I get "Expected { or [ as first syntax token." How can I send GraphQL queries with a httpclient. Without having to use a…
Enrico
  • 2,734
  • 1
  • 27
  • 40
1
vote
1 answer

Clojure, re-graph fetched data from graphql successfully, but callback didn't activate

So I use re-graph version 0.1.11 and I try fetching data from the endpoint. After fetching data, I checked network tab in the browser and I found the expected data after that it should activate my callback function, but it doesn't seem to work (but…
Patrick
  • 734
  • 11
  • 26
1
vote
1 answer

Angular Apollo GraphQL watchQuery vs subscription

I am new to GraphQL and need some help... As I see there is a plenty of components in GraphQL such as Query, Mutation and Subscription. In Angular Apollo Client I have two methods to deal with Query: apollo.query and apollo.watchQuery. As I…
vorant94
  • 423
  • 1
  • 5
  • 16
0
votes
0 answers

Error using GraphQLHttpClient for subscription

I learn aws AppSync subscription using an example in the following references https://github.com/graphql-dotnet/graphql-client/issues/372 using System; using System.Net.Http; using System.Text; using System.Threading; using…
user3097695
  • 1,152
  • 2
  • 16
  • 42
0
votes
1 answer

How to deserialize Graphql Response

Hi I have a graphql Response after Mutating {{ "carCreate": { "car": { "id": "TestId" } } }} I want to Desealize it I am using The following Code var graphQlClient = new GraphQLHttpClient(AppConfig.GraphQlUrl, new…
0
votes
1 answer

How to get aws appsync graphql response from dotnet web api

Currently i have a graphql query deployed in aws appsync I want to execute and get the graphql result from webapi.
1
2