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: support immutable maps #859 #860

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

ARobertsCollibra
Copy link
Member

This PR

  • first commit Added failing tests
  • second commit Fixed the logic to allow the tests to pass by copying the passed in attributes

Related Issues

Fixes #859

@ARobertsCollibra ARobertsCollibra requested a review from a team as a code owner March 21, 2024 19:53
@ARobertsCollibra ARobertsCollibra changed the title Issue/859 fix: issue #859 Mar 21, 2024
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.53%. Comparing base (675de14) to head (3683197).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #860      +/-   ##
============================================
+ Coverage     95.28%   95.53%   +0.25%     
- Complexity      370      371       +1     
============================================
  Files            34       34              
  Lines           849      852       +3     
  Branches         52       52              
============================================
+ Hits            809      814       +5     
+ Misses           21       20       -1     
+ Partials         19       18       -1     
Flag Coverage Δ
unittests 95.53% <100.00%> (+0.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Very nice catch @ARobertsCollibra !

Thanks for adding the tests as well.

@toddbaert
Copy link
Member

Hey @ARobertsCollibra I resolved a conflict with a PR in the same area, hope you don't mind.

Signed-off-by: Adam Roberts <adam.roberts@collibra.com>
…s by copying the passed in attributes

Signed-off-by: Adam Roberts <adam.roberts@collibra.com>
Copy link

sonarcloud bot commented Mar 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Kavindu-Dodan
Copy link
Contributor

Thank you @ARobertsCollibra for the improvement

@Kavindu-Dodan Kavindu-Dodan merged commit d51cacb into open-feature:main Mar 22, 2024
8 checks passed
@Kavindu-Dodan Kavindu-Dodan changed the title fix: issue #859 fix: support immutable maps #859 Mar 22, 2024
@ARobertsCollibra ARobertsCollibra deleted the issue/859 branch March 22, 2024 20:27
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.

Usage of EvaluationContext broken by PR #805
3 participants