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

feat: pass all strategy options to auth factory #208

Merged
merged 4 commits into from
Oct 28, 2020

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Oct 28, 2020

If any extra options are passed to the strategy options, they will be passed through to the factory method in auth({ type: "installation", factory }). This makes sure that the octokit and octokitOptions options that @octokit/core now passes automatically since octokit/core.js#233 will be passed to the factory for easier constructon of a new octokit instance

@gr2m gr2m added the Type: Feature New feature or request label Oct 28, 2020
@gr2m gr2m force-pushed the pass-all-strategy-options-to-auth-factory branch from 5c239b1 to 216629b Compare October 28, 2020 05:11
@gr2m gr2m force-pushed the pass-all-strategy-options-to-auth-factory branch from c37564a to 08cfd69 Compare October 28, 2020 05:14
@gr2m gr2m merged commit 4f2e177 into master Oct 28, 2020
@gr2m gr2m deleted the pass-all-strategy-options-to-auth-factory branch October 28, 2020 05:32
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant