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(cubejs-client-ngx): correct all filters being replaced on FilterMember.replace #3597

Merged

Conversation

JoshMentzer
Copy link
Contributor

Check List
No test setup for package. May do a new PR and add tests to this package if I get some time in next few weeks.

Description of Changes Made (if issue reference is not provided)
Updated the .replace method on FilterMember for the client-cubejs-ngx library. The previous logic would update every single filter with the replaceWithName if the filter in question had a 'member' attribute; regardless of whether or not the member matched the item to replace.

@JoshMentzer JoshMentzer requested a review from a team as a code owner October 28, 2021 02:19
@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Oct 28, 2021
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #3597 (74d84af) into master (a897392) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3597   +/-   ##
=======================================
  Coverage   59.71%   59.71%           
=======================================
  Files         125      125           
  Lines       10006    10006           
  Branches     2263     2263           
=======================================
  Hits         5975     5975           
  Misses       3749     3749           
  Partials      282      282           

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 a897392...74d84af. Read the comment docs.

@vasilev-alex vasilev-alex merged commit f972ad3 into cube-js:master Oct 28, 2021
@JoshMentzer JoshMentzer deleted the fix-client-ngx-filter-member branch October 28, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants