var per = schema.AddType<personal>(); //EFDbContext.personalsper.AddListField("departments", EFDbContext.departments.Select(o => new { my_custom = o.xxx }));
when I use postman to call these graphql
I get an error
Argument types do not match
I know that when use GraphQLTypeBuilder to add field must be the same type
But if I want this, How I do ?
Hello,
I stuck with shema setting like this
var per = schema.AddType<personal>(); //EFDbContext.personals
per.AddListField("departments", EFDbContext.departments.Select(o => new { my_custom = o.xxx }));
when I use postman to call these graphql I get an error
Argument types do not match
I know that when use GraphQLTypeBuilder to add field must be the same type But if I want this, How I do ?
Thank you