mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
* Refactor cloning action, update tests * Delete redundant "should not be cloned" part from shouldBeCloned() * Use 'clone' instead of a universal route in tenant parameter removal test * Improve comment * Add test for cloneRoutesWithMiddleware(), correct existing tests * Allow cloning specific routes by name * Fix typo in CloneActionTest Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * clean up CloneRoutesAsTenant, add a todo * phpstan * Add test for handling 'clone' in MW groups * Improve regression test * Improve regression test * Handle nested cloning flags in CloneRoutesAsTenant * Ignore routes that are already considered tenant routes from cloning, update test accordingly * Clarify cloning logic * CloneRoutesAsTenant cleanup * Rewrite clone action annotation, fix fluent usage bug * Improve tests (comments, use $tenant->id instead of $tenant->getTenantKey()) * Test that the clone action can be used fluently without issues now (could serve as a regression test for the routesToClone change in previous commit) * Minor annotation improvements * Improve route cloning action docblock * Add note about clearing the $routesToClone property * improve docblock * clean up tests * fix typo --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Samuel Štancl <samuel@archte.ch> |
||
|---|---|---|
| .. | ||
| Actions | ||
| Bootstrappers | ||
| Commands | ||
| Concerns | ||
| Contracts | ||
| Controllers | ||
| Database | ||
| Enums | ||
| Events | ||
| Exceptions | ||
| Facades | ||
| Features | ||
| Jobs | ||
| Listeners | ||
| Middleware | ||
| Overrides | ||
| Resolvers | ||
| ResourceSyncing | ||
| RLS/PolicyManagers | ||
| UniqueIdentifierGenerators | ||
| helpers.php | ||
| Tenancy.php | ||
| TenancyServiceProvider.php | ||