go-chi / go-chi/chi

Support Router scopeed RegisterMethod

Open
#686 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
22.8k
Forks
1.2k
Avg merge
5h 17m
Merged PRs (30d)
10

Description

Current RegisterMethod will register to global, but some handle do not expected the unknown methods, e.g. a webdav expected PROPFIND, but all other handler are not.

Contributor guide

Open the contributing guide

Research direction

Start by reading RegisterMethod and the Router implementation to understand how methods are currently registered globally. Define and verify behavior for router-scoped methods, including the WebDAV PROPFIND example, so unrelated handlers do not receive unknown methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.