Skip to content

Updated to handle array emit for service results. - #743

Merged
daffl merged 1 commit into
feathersjs:masterfrom
superlazycoder:master
Dec 5, 2017
Merged

daffl merged 1 commit into
feathersjs:masterfrom
superlazycoder:master

Conversation

@superlazycoder

Copy link
Copy Markdown
Contributor

Fixed emit to use Array.isArray and emit multiples for array results.
Updated tests with array values to ensure the emits were handled properly.
Refactored the tests to bring the value below the testing limit of 5

Added tests to simulate the array results, and promises that check the results are correct.
@superlazycoder

Copy link
Copy Markdown
Contributor Author

resolves #740

@daffl
daffl merged commit 75db15b into feathersjs:master Dec 5, 2017
daffl added a commit that referenced this pull request Dec 5, 2017
@daffl

daffl commented Dec 5, 2017

Copy link
Copy Markdown
Member

Thank you for doing this! Haven't heard back from Codeclimate so just merged and will see if it can be fixed once I hear back.

Released as v3.0.2

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