Raise a warning on adding duplicated resource
オープン
enhancement
server
- 主要言語
- Python
- スター
- 16.5k
- フォーク
- 2.4k
- 平均マージ
- 17時間 22分
- マージ済み PR(30日)
- 212
説明
Now, `add_route` merges consequenced `add_get(path, handler)` and `add_post(path, handler)` calls but doesn't do it if a resource for other path is pushed in between calls.
Also, it doesn't merge the same resource but under different names.
Let's not change behavior but raise a user warning for such cases, most likely it is the result of silly mistake/misunderstanding.
コントリビューションガイド
評価
この issue はまだ評価されていません。