Skip to content

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

Merged
daffl merged 2 commits intofeathersjs:masterfrom
vonagam:feat-middleware-arrays
Jun 30, 2019
Merged

fix: @feathersjs/express: allow middleware arrays#1421
daffl merged 2 commits intofeathersjs:masterfrom
vonagam:feat-middleware-arrays

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