octokit.graphql.net icon indicating copy to clipboard operation
octokit.graphql.net copied to clipboard

Unable to get repository after rename

Open benjaminwinokur opened this issue 6 years ago • 1 comments

Issue

If a repository is renamed, using the old name throws an exception with the message "Could not resolve to a Repository with the name 'old name here'."

Desired Result

It should be able to give you the information for the renamed repository. For example { test2:repository(owner: "benjaminwinokur" name:"test2"){ name } test:repository(owner: "benjaminwinokur" name:"test"){ name } } returns { "data": { "test2": { "name": "test2" }, "test": { "name": "test2" } } }

Octokit.GraphQL.Net Version

0.1.3.0

Stack Trace

at Octokit.GraphQL.Core.Deserializers.ResponseDeserializer.Deserialize[TResult](Func2 deserialize, JObject data) at Octokit.GraphQL.Core.Deserializers.ResponseDeserializer.Deserialize[TResult](Func2 deserialize, String data) at Octokit.GraphQL.Core.SimpleQuery1.Runner.<RunPage>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.GraphQL.ConnectionExtensions.<Run>d__21.MoveNext()

benjaminwinokur avatar Mar 18 '19 19:03 benjaminwinokur

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Dec 04 '22 02:12 github-actions[bot]