Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: @feathersjs/express: allow middleware arrays#1421

Merged
daffl merged 2 commits intofeathersjs:masterfeathersjs/feathers:masterfrom
vonagam:feat-middleware-arraysvonagam/feathers:feat-middleware-arraysCopy head branch name to clipboard
Jun 30, 2019
Merged

fix: @feathersjs/express: allow middleware arrays#1421
daffl merged 2 commits intofeathersjs:masterfeathersjs/feathers:masterfrom
vonagam:feat-middleware-arraysvonagam/feathers:feat-middleware-arraysCopy head branch name to clipboard

Conversation

@vonagam
Copy link
Member

@vonagam vonagam commented Jun 27, 2019

Using as many middleware arrays or functions as you want is valid for express, since it uses array-flatten on passed arguments (1, 2).

Now does not throw on valid usage for express and allows to use arrays of middleware before and after feathers service.

@daffl daffl changed the title feat: @feathersjs/express: allow middleware arrays fix: @feathersjs/express: allow middleware arrays Jun 30, 2019
@daffl daffl merged commit b605ab8 into feathersjs:master Jun 30, 2019
@daffl
Copy link
Member

daffl commented Jun 30, 2019

🎉 Will also go out with the next pre-release next week.

@vonagam vonagam deleted the feat-middleware-arrays branch July 2, 2019 18:24
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.