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

fix: make initializeClient a pure function #498

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

maxday
Copy link
Contributor

@maxday maxday commented Jul 29, 2024

Description of changes:
To be able to test this JNI code, and the runtime api lifecycle, this is a required change so we could inject a mock http server.
This PR transforms NativeClient.init in a pure function as well as initializeClient.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maxday maxday changed the title Maxday/make initialize client pure fix: make initializeClient a pure function Jul 29, 2024
@maxday maxday merged commit c5e2ee3 into main Jul 29, 2024
2 checks passed
@maxday maxday deleted the maxday/make-initialize-client-pure branch July 29, 2024 12:50
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.

3 participants