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

No support for optional entries #185

Closed
ntucker opened this issue Jul 12, 2018 · 0 comments
Closed

No support for optional entries #185

ntucker opened this issue Jul 12, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@ntucker
Copy link

ntucker commented Jul 12, 2018

Expected Behaviour

func (g *GraphQL) Query_users(ctx context.Context) ([]*User, error)

(notice the pointer in the return value)

Actual Behavior

func (g *GraphQL) Query_users(ctx context.Context) ([]User, error)

Minimal graphql.schema and models to reproduce

type Query {
  users: [Users]!
}
@ntucker ntucker changed the title No support for optional entreis No support for optional entries Jul 12, 2018
@vektah vektah added the bug Something isn't working label Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants