Skip to content

Conversation

@OneHatRepo
Copy link

This DuplicatableBehavior has been very useful in many projects!

However, I had a use case where I needed to handle things differently if the Entity had been saved as normal, or if it had been duplicated. The changes in this pull request pass two parameters to the saveOptions, indicating that the Entity had been duplicated, and also what the originalId was.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.20%. Comparing base (bcf1822) to head (8c68eff).
⚠️ Report is 10 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #61      +/-   ##
============================================
+ Coverage     94.48%   95.20%   +0.71%     
+ Complexity       59       57       -2     
============================================
  Files             1        1              
  Lines           127      125       -2     
============================================
- Hits            120      119       -1     
+ Misses            7        6       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants