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

Think about moving payload validation outside of the library #24

Open
joekarl opened this issue Apr 14, 2015 · 1 comment
Open

Think about moving payload validation outside of the library #24

joekarl opened this issue Apr 14, 2015 · 1 comment

Comments

@joekarl
Copy link
Owner

joekarl commented Apr 14, 2015

Basically because message validation is done behind the channel interface, there's no good way to get back errors if a payload is bad.
Thinking about moving payload validation to an exposed method so that users can pre-validate their messages if they want to.
Will still leave checks in place internally for saneness but will allow preemptive catching of potential errors.

@pjebs
Copy link

pjebs commented Jun 12, 2015

I like this idea. Make the library as fast as possible.

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

No branches or pull requests

2 participants