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

Update request modifiers so they can be scoped #109

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

AndrewBenzSW
Copy link
Contributor

Add the ability to scope request modifiers. The previous behavior set the request modifier on the ShipEngine client, which affected all consumers of the client. This change instead returns a new instance of the ShipEngine client, appending the request modifier to the existing list of modifiers. The HttpClient and Config are persisted.

@semarj semarj requested a review from jpill August 25, 2024 17:02
@AndrewBenzSW AndrewBenzSW merged commit ce007a6 into main Aug 26, 2024
5 checks passed
@AndrewBenzSW AndrewBenzSW deleted the abenz/scope-request-modifiers branch August 26, 2024 15:38
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