senecajs / seneca

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

move data modification to returned operation #816

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

move data modification to returned operation

https://github.com/senecajs/seneca/blob/d26612c21386cb9c74ea41de092ad64a517d87c4/lib/use.js#L414

        },
        // TODO: move data modification to returned operation
        define: (spec) => {
            let seneca = spec.ctx.seneca;
            let so = seneca.options();