@mattkingshott@_newtonjob That’s not my code, and unfortunately it’s only used in one place: WarehouseController. I don’t see any value in doing that, it feels like blindly following the action pattern.
Splitting projects to microservices, CQRS, DDD etc. directly multiplies the complexity costst for no gain.
Sounds cool and fun at first, but costs company 1-2 years IT budget to fix.
Monolith = x budget to upgrade.
5 microservices = 10x budget for same work.
You can now generate new Laravel applications pre-equipped with React, Vue, or Livewire, but with no authentication scaffolding.
Just a blank canvas with your front end stack of choice. 🎨