Open
Description
As part of some migrations, i've noticed myself needing the following members from Polka
:
Polka#handler
- so i can bind it torequest
myself rather than callinglisten
wares
- i want to create a newPolka
which has the same middleware stack as another. for now i've literally setb.wares = a.wares
but maybe we should have a method for this?onError
- i want to set the error handler after instantiatingPolka
basically, can i rely on these 3 things being part of the public interface? (i.e. you won't remove them without a new major)
and if not, what could we introduce to cover the same use cases in a supported way?
Metadata
Metadata
Assignees
Labels
No labels