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: allow more client options to be configured via resource url (#4156) #4157

Closed
wants to merge 5 commits into from

Conversation

jnu
Copy link

@jnu jnu commented Jan 5, 2022

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

Yes, added tests for parsing resource query options

Motivation / Use-Case

See #4156

Breaking Changes

No breaking changes.

Additional Info

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 5, 2022

CLA Signed

The committers are authorized under a signed CLA.

@jnu
Copy link
Author

jnu commented Jan 11, 2022 via email

@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #4157 (905df83) into master (b2202b6) will increase coverage by 0.21%.
The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4157      +/-   ##
==========================================
+ Coverage   92.27%   92.49%   +0.21%     
==========================================
  Files          14       14              
  Lines        1541     1558      +17     
  Branches      590      598       +8     
==========================================
+ Hits         1422     1441      +19     
+ Misses        110      108       -2     
  Partials        9        9              
Impacted Files Coverage Δ
client-src/index.js 82.17% <82.35%> (+4.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2202b6...905df83. Read the comment docs.

Copy link
Member

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

I believe we also need to set these options automatically if provided in configuration, as we do for other client options like logging.

if (typeof client.logging !== "undefined") {

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