octokit.graphql.net
                                
                                
                                
                                    octokit.graphql.net copied to clipboard
                            
                            
                            
                        A GitHub GraphQL client library for .NET
Hello, I had used example from docs ```csharp var query = new Query() .Repository("octokit", "octokit.net") .Issues() .AllPages() // Auto-pages Issues .Select(issue => new { issue.Id, Comments = issue .Comments(null, null,...
A default instance of `IssueFilter` has all properties set to `null`, which in the resulting graph query will compare all the fields to `null`. However, this means it looks for...
I noticed that when ordering `PullRequests` the `IssueOrder` enum is being used instead of the `PullRequestOrder` enum: https://github.com/octokit/octokit.graphql.net/blob/e92b6c4e8ac1e4831f9f69ce498d46a0153440ac/Octokit.GraphQL/Model/Ref.cs#L30 The query works, so there no loss in functionality. It is just...
I currently have a query something like to get back sponsors though this would break down in the event that I ever reach more than 100 sponsors in any sponsorship...
I am trying this: ```c# var expression = query.Viewer.Organizations(2).Compile(). ``` I authorise one of my organisations to be allowed but not the other. In this case the above code throws...
I am trying to `get`/`update` a list of `Linked issues` while updating a `Pull Request` in my code. Unfortunately there are no way to do it in V4 that I...
This PR removes the readonly struct ID introduced in https://github.com/octokit/octokit.graphql.net/pull/78 and replaces it with a simple string. This removes some complexity like the custom JsonConverter and allows for simpler/cleaner mapping...
Please provide an example in your documentation on how to get all commits from a repo and branch... this is very difficult to figure out right now. ``` var commitsQuery...
Hitting this guy: https://developer.github.com/v4/object/securityvulnerability/ Like so: ``` var query = new Query() .SecurityVulnerabilities(10, null, null, null, SecurityAdvisoryEcosystem.Rubygems, null) .AllPages(100) .Select(vuln => new { vuln.FirstPatchedVersion.Identifier, vuln.Package.Name, vuln.Package.Ecosystem, vuln.Severity, vuln.VulnerableVersionRange }) .Compile();...
Looking through Mutation, this is missing https://developer.github.com/v4/mutation/linkrepositorytoproject/