muratcorlu / connect-api-mocker

Connect middleware that creates mocks for REST APIs
Apache License 2.0
271 stars 18 forks source link

feat: making body parser optional and configurable. #41

Closed vudodov closed 5 years ago

vudodov commented 5 years ago

This is a breaking change. I thought it kinda makes sense to move it as an optional configuration, switched off by default. However if you don't agree I'm happy to discuss.

Closes #21

muratcorlu commented 5 years ago

What about setting it as true by default to make it backward compatible? And I think, for most of the people using body-parser will be helpful on custom responses.

vudodov commented 5 years ago

Will do

vudodov commented 5 years ago

@muratcorlu as promised, made body-parser optional and enabled by default.

muratcorlu commented 5 years ago

Thanks @vudodov. Merged it a new version on its way.

muratcorlu commented 5 years ago

:tada: This PR is included in version 1.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: