fastify-cli icon indicating copy to clipboard operation
fastify-cli copied to clipboard

feat: pass forceCloseConnections option from cli

Open LucaRainone opened this issue 1 year ago • 1 comments

Enabling the proxy for the forceCloseConnections option. When enabled, this option resolves this issue. Explained in detail also inside this other issue

Please note that the original option on fastify could be both string and boolean. In fastify-cli I didn't find a smart way to manage it (it seems that's possible defining only one type in a structural way). I choose to use it as boolean/flag, leaving the only allowed string value (idle) the default option. If there is a better standard solution, please point me in the right direction :)

Checklist

LucaRainone avatar Sep 27 '24 19:09 LucaRainone