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
allow non-plain object as request body #217
allow non-plain object as request body #217
Conversation
👍 |
@sindresorhus test on this would be nice 🦄 |
Agreed. @bisubus Would you mind adding a test and fixing the merge conflict? |
@sindresorhus Sure thing, I'll get down to this PR a bit later. |
@sindresorhus Added a couple of tests to match an object that can be passed as a body, since it is no longer validated by |
@bisubus thank you! 🎉 |
* allow non-plain object as request body * add tests for object request body * fix test for non-plain object request body * fix tests to pass linter
Was this PR reverted? Seems the validator is still using |
Closes #212