walkor / walkor/webman-framework

Route 多层嵌套会导致最外层的 middleware 丢失

Open
#45 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
148
Forks
68
Avg merge
1d 8h
Merged PRs (30d)
3

Description

```php
Route::group('/admin', function () {
Route::get('/aa', fn() => '');
Route::group('/bb', function () {
Route::get('/cc', fn() => '');
});
})->middleware('abcMiddleware');
```

使用 `webman route:list` 显示结果

![image](https://user-images.githubusercontent.com/10680903/179739415-7c2a6c8b-5a1c-44a3-b3ea-d78551a2829d.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.