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

Change GitHub.createPullRequest to await the call to PullRequest.Create #2821

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Sep 11, 2024

Description

Referencing the comments in #2820, and assuming that the return type is actually wrong, I think it should be awating the PullRequest.Create so that it gets awaited inside the retry machinery?

Still a draft, as if it's a correct cfhange it needs release notes (and It'd be a breaking change to the public API)

@xperiandri
Copy link
Collaborator

Indeed, that would be strange

@Numpsy
Copy link
Contributor Author

Numpsy commented Sep 20, 2024

Given that this is a breaking API change, would it need to be held for the .NET 8 update release?

@xperiandri
Copy link
Collaborator

That would be more appropriate.
However 7.0 can be released if urgently needed

@Numpsy
Copy link
Contributor Author

Numpsy commented Sep 20, 2024

Ok, I'll leave until the .NET 8 changes are done

@xperiandri
Copy link
Collaborator

Should we already merge this?

@Numpsy
Copy link
Contributor Author

Numpsy commented Sep 22, 2024

Is there going to be a 6.1.2 with any of the other more minor changes, or is just in to version 8 now?

Also needs a release note entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is the return type of Fake.Api.GitHub.createPullRequest supposed to be Async<Async<PullRequest>> ?
2 participants