Results 67 issues of Ben Kraft

## Summary: Craig suggested this; it seems plausibly useful although of course it will cause some churn in the generated file as well. And it's easy to do from Go's...

If you do `mutation { MyMutation { error { code } } }`, or something, we should be able to just return `(code string, err error)`, at least if you...

enhancement
help wanted

We have our own `errorf` (in `generate/errors.go`) so that we can do structured errors with positions. But our `errorf` is a bit un-idiomatic (which caused confusion in #117) -- it...

good first issue
help wanted
internal

If you have a query like ```graphql query Q { f { # type: I (interface) ...Fragment # on I (or J which implements I) } } ``` Now, `resp.F`...

enhancement

If you request some field of interface type, we automatically add `__typename` to your selection, so we can use the right type. But you probably don't need that field in...

enhancement
help wanted

Suppose you have ```graphql query Q { myInterface { a b c ... on Impl1 { d } } } ``` Right now we generate (roughly) ```go type QMyInterface interface...

enhancement
needs design

With #85 we added support to say, if some field is of GraphQL interface type, but you don't request any type-specific fields, you can ask us to generate a struct...

enhancement

If you have a field `id`, we should, for better or worse, generate `ID` rather than `Id`, and `XMLHTTPRequest` rather than `XmlHttpRequest`, per the Go style. Or at this point,...

enhancement
good first issue
help wanted

If you put `pointer: true` on a list-field, you get `[]*T` (or `[][]*T`, or...) which is probably what you wanted (so you can represent an required list of optional items,...

enhancement
help wanted
needs use cases

I kinda feel like this might be useful? But if you put the query in a Go file nearby, it's a lot less necessary.

enhancement
good first issue
help wanted