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

Add validation for the message body in middleware worker #13

Open
Relrin opened this issue Oct 2, 2018 · 0 comments
Open

Add validation for the message body in middleware worker #13

Relrin opened this issue Oct 2, 2018 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed missing feature

Comments

@Relrin
Copy link
Member

Relrin commented Oct 2, 2018

As you can see in the appopriate documentation for a worker that works with the middleware queue, the enduser must specify the game-mode field in request of String type, however, the worker isn't applying any checks / validation rules for the message body.

So, as the enduser, I'm expecting that I will receive a validation error for the invalid message content when the required fields aren't specified, missing or have invalid types. Otherwise the message must be delivered to the next processing stage without any errors.

@Relrin Relrin added help wanted Extra attention is needed good first issue Good for newcomers missing feature labels Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed missing feature
Projects
None yet
Development

No branches or pull requests

1 participant