We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleware like koa-mount has a need to identify Koa application objects, and behave differently if found ( example ).
What would be the standard/recommended way to achieve this? Perhaps by using an exported Symbol in a sub package?
The text was updated successfully, but these errors were encountered:
Middleware like koa-mount has a need to identify Koa application objects
not sure this is ever actually necessary in real life. i would just export an array of middleware instead.
Sorry, something went wrong.
No branches or pull requests
Middleware like koa-mount has a need to identify Koa application objects, and behave differently if found ( example ).
What would be the standard/recommended way to achieve this? Perhaps by using an exported Symbol in a sub package?
....
if ( obj[KOA_APPLICATION] ) ....
The text was updated successfully, but these errors were encountered: