Skip to content

Tests for socket message validation and errors. - #123

Merged
ekryski merged 2 commits into
masterfrom
socket-validation-96-113
Mar 6, 2015
Merged

ekryski merged 2 commits into
masterfrom
socket-validation-96-113

Conversation

@daffl

@daffl daffl commented Mar 6, 2015

Copy link
Copy Markdown
Member

This pull request adds tests for the latest feathers-commons functionality which allows Socket message validation and to omit parameters and calls back with an error when wrong arguments are submitted. Closes #96 and closes #113. /cc @marshallswain

@ekryski

ekryski commented Mar 6, 2015

Copy link
Copy Markdown
Contributor

Looks all good!

ekryski added a commit that referenced this pull request Mar 6, 2015
Tests for socket message validation and errors.
@ekryski
ekryski merged commit cf7148e into master Mar 6, 2015
@ekryski
ekryski deleted the socket-validation-96-113 branch March 6, 2015 20:45
@marshallswain

Copy link
Copy Markdown
Member

I love the validation! It's good to see the server still running after doing something stupid.

@daffl

daffl commented Mar 7, 2015

Copy link
Copy Markdown
Member Author

I might refactor this as a general mixin that doesn't just do this for sockets but for all service method calls all the time (so you can also use this with app.service, hooks etc.).

daffl added a commit that referenced this pull request Aug 25, 2018
Remove typo, update year in generated README
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.

Server hardening with socket message validation. Should socket calls require a callback?

3 participants