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

Add support for Runtime Plugins #138

Merged
merged 15 commits into from
Jul 5, 2023
Merged

Add support for Runtime Plugins #138

merged 15 commits into from
Jul 5, 2023

Conversation

alextwoods
Copy link
Contributor

Description of changes:
Runtime plugins allow modification of Config during client initialization and during operation invocation.
Plugins can be added at the Client class level by code generation (specifically by RubyIntegrations) or by users through Config or when calling an operation.

Testing
Testing plugin codegen changes is difficult with the existing setup - this PR adds a new test project which has a RubyIntegration which adds plugin and middleware that apply to generation of the WhiteLabel service/SDK, which allows us to write integration specs for it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@mullermp mullermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I am generally ok with this.

Copy link
Contributor

@mullermp mullermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alextwoods alextwoods merged commit 20c7c61 into main Jul 5, 2023
5 checks passed
@alextwoods alextwoods deleted the plugins branch July 5, 2023 20:10
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.

2 participants