Closed devguar closed 5 years ago
Two questions:
Do the events need setters for the model and tags? Seems like these should be set in the constructor and nowhere else.
Tests?
Otherwise, this is a great addition!
Two questions:
- Do the events need setters for the model and tags? Seems like these should be set in the constructor and nowhere else.
- Tests?
Otherwise, this is a great addition!
Yes you are right, we dont need that methods on events. So I removed. About the tests, I ran the same test we already have in the repository, you think we should have new tests for this?
Hey guys, this will be merged into master?
Slipped my mind ... merged now. Will tidy things up a bit and push a release shortly. Thanks!
Version 3.5.2 includes the events now. Thanks again!
Great! thank you @cviebrock
Hi @cviebrock , Im using laravel 5.7, can I merge this changes (this PL and https://github.com/cviebrock/eloquent-taggable/pull/90) into version 3.4.*?
Yes, just make another PR for that please, against the (new) 3.4
branch.
Events when a model is Tagged or Untagged.
This way we can trigger an event based on 'when' and 'where' a model is tagged or untagged.
Thank you for helping to make this package better!
Please make sure you've read CONTRIBUTING.md before submitting your pull request, and that you have:
README.md
, etc.)Thank you!