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(pinia-orm): Avoid attr default value modification by reference #1869

Merged

Conversation

Graphmaxer
Copy link
Contributor

@Graphmaxer Graphmaxer commented Jun 10, 2024

🔗 Linked issue

#1868

📚 Description

Added a test to see the issue of modifying default value by reference and proposed a fix

@Graphmaxer Graphmaxer changed the title test: add default modify by reference test fix: avoid attr default value modification by reference Jun 10, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.76%. Comparing base (ed747cb) to head (334f935).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1869   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          88       88           
  Lines        6032     6039    +7     
  Branches      512      512           
=======================================
+ Hits         6018     6025    +7     
  Misses         12       12           
  Partials        2        2           

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

@CodeDredd CodeDredd changed the title fix: avoid attr default value modification by reference fix(pinia-orm): Avoid attr default value modification by reference Jun 11, 2024
Copy link
Owner

@CodeDredd CodeDredd left a comment

Choose a reason for hiding this comment

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

👍

@CodeDredd CodeDredd merged commit 2bfcb33 into CodeDredd:main Jun 11, 2024
7 of 9 checks passed
@github-actions github-actions bot mentioned this pull request Jun 6, 2024
@github-actions github-actions bot mentioned this pull request Jul 10, 2024
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