Good lessons here. Perhaps it’s beyond the scope of this Larabit but putting those magic numbers (experience points) into an enum or some sort of experience class will definitely improve this workflow
@gdogmalone2 ай бұрын
GREAT, video. Learnt loads 🙌
@ParisBenjaminsoundАй бұрын
Thanks
@dragoninfintyskull2 ай бұрын
Full course on actions with test please….
@obadaalzidi64522 ай бұрын
Thanks, that's great ! Just for clarity, shouldn't the AwardExperienceTest be a Unit test ?
@VuTuanIT2 ай бұрын
A unit test should be pure and not involve database transactions, otherwise, place it into feature tests
@houseandhobby69712 ай бұрын
Oops I dropped in to learn about class action lawsuits to avoid the developer.
@popforall2 ай бұрын
What if I have a database transaction in some of my sub actions Should I add another transaction to the parent actions or what should I do?
@shamwela_3 күн бұрын
Why don't you just create a reusable function instead of creating "Action" classes for every little thing that you want to do.
@mahmoud-bakheet2 ай бұрын
You are the other Jeffrey either 😂
@yoho4032 ай бұрын
Wouldn't a trait be better in this case to avoid creating one time use objects?
@arash50942 ай бұрын
Please integrate in mongodb to next version of laravel you think it's time don't you