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
MLIBZ-2343: adding Options for Client #264
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #264 +/- ##
===========================================
+ Coverage 87.69% 87.77% +0.07%
===========================================
Files 68 68
Lines 8447 8562 +115
===========================================
+ Hits 7408 7515 +107
- Misses 1039 1047 +8
Continue to review full report at Codecov.
|
validateInitialize(appKey: appKey, appSecret: appSecret) | ||
self.encryptionKey = encryptionKey | ||
self.schemaVersion = schema?.version ?? 0 | ||
self.options = options | ||
if let timeout = options?.timeout { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If options.timeout
is our preferred way to set global timeouts, let's deprecate Client.timeoutInterval
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, let me do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One improvement, otherwise LGTM.
@heyzooi - make sure all our tests and docs point to this new API definition.
Description
Adding Options for Client constructor
Changes
Tests