Shows - Parent Type
Person - Child Type
ONE show can have MANY persons. I want to pass each 'personId' from shows type as an argument to its child type Person as shown below:
{
shows
{
showId
personId
person(personId:…
here I have a mutation, as you can see the parameter name is Product with capital P and the field name is CreateProduct with capital C when I execute this mutation from graphical I have to write the name of the field on camel casing and also the…
So I have graphql as backend and React / Apollo as Frontend.
I have already implemented my JWT Token Auth, which works fine.
Additional to that I have my Middleware, in which the HttpContext is given and the user is correctly loaded with all…
I have a existing REST API developed using ASP.NET WEB API 2 where the authorization is handled by storing all the controller name and action method details in a xml file.
WebAPIAuthorization.xml:
…
I have the following code snippet developed using asp.net web api 2 and EntityFramework 6.
public class TestController : BaseApiController
{
private readonly ITestService _testService;
private readonly ICommonService _commonService;
…
I am new to GraphQL and I'm currently trying to build an api for a existing library.
There I have Tags which have an unique alias, a value which can be of different types and some properties.
To take care of the different value types, I have defined…
I'm trying to implement a GraphQL server using the .Net implementation - Conventions
On the server I want my schema to be like this
public class StarWarsQuery
{
public IEnumerable Droids()
{
return…
I simply create new dotnet web api core v7 and want to add dotnet graphql v7 too.
this is my program.cs
using GraphQL;
using Erapi.Graphql.Queries;
using GraphQL.Types;
using Erapi.Graphql.Notes;
using GraphQL.MicrosoftDI;
//using…
Is it possible to do something like this?
Query.cs
class Query : ObjectType> where T : class
{
protected override void configure(IObjectTypeDescriptor> descriptor)
{
descriptor
.Field(f =>…
I have a .NET Core API app that allow users to create models with specific schema (much like common Headless CMS).
The models act as Template for contents.
The content created on top of models are stored in NoSQL Database and the class that owns the…
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…
I am building a new GraphQL API using the GraphQL for .NET and the GraphQL for .NET - Subscription Transport WebSockets packages and I am trying to test some Subscriptions I have set up in my schema.
However, I am currently getting this error when…
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.
…
To give more context we have a ASP.NET Core abp framework with GraphQL setup. It is all working good but when we deploy this in the environment with load balancer it is failing with error below.
Error
Object name: 'Scope cache was already…
Good morning.
I am a bit confused about these two repositories(graphql-dotnet/graphql-dotnet/ and graphql-dotnet/server/).
https://github.com/graphql-dotnet/graphql-dotnet/ and
https://github.com/graphql-dotnet/server
They are both under the same…