Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQLTypeBuilder AddListField with another typeBuilder #99

Open
ruzerix opened this issue Oct 12, 2018 · 0 comments
Open

GraphQLTypeBuilder AddListField with another typeBuilder #99

ruzerix opened this issue Oct 12, 2018 · 0 comments

Comments

@ruzerix
Copy link

ruzerix commented Oct 12, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant