Dmitri Shuralyov

Results 118 issues of Dmitri Shuralyov

Similar to GitHub REST API v3, GitHub GraphQL API v4 also has preview APIs that let users try out new features and changes before they become part of the official...

enhancement
API decision
thinking
NeedsInvestigation

This issue provides a rough roadmap to give you an idea of the development status, and the remaining planned work. ## Roadmap ### Currently Implemented - [x] Basic and intermediate...

This is an issue with the current API design I've come to feel by using the API more, by thinking about it more, and through some user feedback (/cc @slimsag)....

API decision
thinking

As reported by @cjwagner in https://github.com/shurcooL/graphql/issues/29#issuecomment-424103540 and recently reproduced by me, GitHub GraphQL API v4 can return a response with status code 502 that includes a valid GraphQL response: ```JSON...

enhancement
NeedsInvestigation

When you create a variable of type `githubql.ID` and place it into a `map[string]interface{}` as part of `variables,` the fact that its type was `githubql.ID` gets "lost" because the type...

thinking

From https://github.com/shurcooL/graphql/issues/45#issuecomment-527848376: > this package should do something better in this situation. Either the error message needs to be improved, or maybe it could unmarshal just the first book and...

API decision
NeedsInvestigation

See [issue 19](https://github.com/shurcooL/graphql/issues/19). Structs used in variables need to have `json` tags to match the names that the GraphQL server expects. E.g.: ```Go type ProductInput struct { Name graphql.String `json:"name"`...

Operation names are described at http://graphql.org/learn/queries/#operation-name: > The _operation name_ is a meaningful and explicit name for your operation. It can be very useful for debugging and server-side logging reasons....

help wanted
thinking
API decision

This is an optional future enhancement that we can consider. If/when we parse the incoming GraphQL query, we can apply the `@skip` and `@include` [GraphQL directives](http://facebook.github.io/graphql/October2016/#sec-Type-System.Directives) on the client-side. The...

enhancement
future

See https://tip.golang.org/doc/go1.10#reflect. As a result, there are certain types of queries that we won't be able to unmarshal into successfully. Need to decide where to detect the situation, and how...