nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 6 forks source link

Single option object for the HTTP server #165

Closed nfroidure closed 8 months ago

nfroidure commented 1 year ago

The HTTP Server has several injected values that could in fact sit into a single config object: https://github.com/nfroidure/whook/blob/0c164f592a0dc57952b10a8c0804d03d00ece8d1/packages/whook-http-server/src/index.ts#L74-L77

It would simplify the dependency tree and allow configuring it in a more discoverable way.