pnxtech / hydra-express

A module which wraps Hydra and ExpressJS into a library for building distributed applications - such as microservices
MIT License
184 stars 37 forks source link

Safely introduce body-parser-config #85 functionality #109

Closed cjus closed 6 years ago

cjus commented 6 years ago

The functionality for a cors and body parser enhancement was introduced into an experimental version of Hydra Express but was not merged into the main branch.

https://github.com/flywheelsports/hydra-express/pull/85/commits/ab51a20b56fff05d6483e7a183c30c268f322c88

This PR safely introduces that functionality. To use this new feature the user needs to add a cors and or bodyParser branch to their service's config.json file.