Skip to content
New issue

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

Tests and implementation for Issue #8 #44

Closed
wants to merge 1 commit into from

Conversation

hunterloftis
Copy link

#8

fn.default(req, res, next);
// apply Array of middleware
if (fn instanceof Array) {
// TODO: Make arrays of middleware also work with formats
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this referring to?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like he's saying that we will want to be able to pass middleware to format-style callbacks. Right now it just skips past middleware if it's a format-style callback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants