Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: EnablePullRequestAutoMergeInput failing using v0.2.1-beta with GHES 3.8.4 #302

Open
1 task done
martincostello opened this issue Aug 11, 2023 · 2 comments
Open
1 task done
Labels
hacktoberfest Issues for participation in Hacktoberfest Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented

Comments

@martincostello
Copy link
Contributor

What happened?

I updated an internal application using Octokit.GraphQL to 0.2.1-beta from 0.2.0-beta and now trying to enable auto-merge of pull request with GitHub Enterprise Server 3.8.4 fails with the following exception:

Octokit.GraphQL.Core.Deserializers.ResponseDeserializerException: InputObject 'EnablePullRequestAutoMergeInput' doesn't accept argument 'expectedHeadOid'
   at Octokit.GraphQL.Core.Deserializers.ResponseDeserializer.Deserialize[TResult](Func`2 deserialize, JObject data)
   at Octokit.GraphQL.Core.SimpleQuery`1.Runner.RunPage(CancellationToken cancellationToken)
   at Octokit.GraphQL.ConnectionExtensions.Run[T](IConnection connection, ICompiledQuery`1 query, Dictionary`2 variables, CancellationToken cancellationToken)

This appears to have been added by 3f5eaa0#diff-cf7ac8c5e36ed6761cce0393cc816f53b1cb638369577d730bf568ead8b8ee6e.

Versions

0.2.1-beta

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@martincostello martincostello added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Aug 11, 2023
@github-actions
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Aug 11, 2023
@nickfloyd nickfloyd added the hacktoberfest Issues for participation in Hacktoberfest label Sep 21, 2023
@martincostello
Copy link
Contributor Author

I'm going to leave this open (unless fixed I guess it can be closed when GHES 3.8 goes out of support), but after upgrading to both the 0.3.0-beta package and GitHub Enterprise 3.9 this specific issue is no longer affecting my application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues for participation in Hacktoberfest Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

3 participants