Dmitri Shuralyov

Results 869 comments of Dmitri Shuralyov

> I'm still new to Go and GraphQL so creating a transpiler for SDL -> Go lang is definitely a challenge that I'd like to take on, but will take...

I will need some time to think about how this can be implemented in a simple and clean way, if at all, because it's not immediately clear to me. I...

> you can **copy** the constructQuery() code from graphql library The keyword is *copy*. It's unexported because it's low-level internal functionality and not a part of the public `graphql` API....

Hello. `DependencyGraphManifest` is a part of API preview, meaning it's not included by default. To use it, the `Accept` header must have `application/vnd.github.hawkgirl-preview+json` set. This is described at https://developer.github.com/v4/previews/#access-to-a-repositories-dependency-graph. There's...

I'm not sure if I understand what exactly you're asking about, so let me try to clarify. When there are fields with same names in multiple inline fragments, it's normal...

Thanks for reporting. Can you share the Go code you wrote for that query to help me investigate this?

@vllry `Edges` should be a slice of structs rather than a single strict.

@tooilxui I'm seeing two issues in your `query` variable. You're using unexported fields, and you're using `json:` struct field tags. You should use exported fields and `graphql:` struct field tags...

You can use a pointer to a struct, and check if the pointer value is `nil`. For example: ```Go var q struct { RepositoryOwner *struct { ProfileOwner struct { PinnedItemsRemaining...

> As far as I can tell, this package doesn't have any specific code path to handle the Github rate limiting. That is true. However, note that you can always...