senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 314 forks source link

this does not work if legacy:false used outside in... #864

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

this does not work if legacy:false used outside initial

e.g. in seneca.options.js

https://github.com/senecajs/seneca/blob/6a2f6bc4770dbdde8ed2173ce331fd2b6ad6d24b/lib/options.js#L147

    // Legacy global off
    // TODO: this does not work if legacy:false used outside initial
    // e.g. in seneca.options.js
    if (false === initial.legacy) {
      adjusted.legacy = {
        transport: false,
ndex 8b3fe121..dcb9e2ef 100644
++ b/package-lock.json