Open enricodeleo opened 3 years ago
Hi @enricodeleo, please excuse my delay on getting back to this. It sounds like a great extension to our API. Would you like to push PR on this? I would be more than happy to merge it and give your the ownership on pushing this improvement. Please let know.
Many thanks in advance.
No worries @jkyberneees I understand that was not a priority :) Still I think it's super useful when you need to manipulate data safely without polluting the application memory.
Unfortunately I haven't been working on the project for months now, I have no possibilities in the near future to get back on track with the repo I'll try as soon as I can
Feature proposal
onResponse
could support node transforms applied to the pipeline in order to allow reasonable performant, on-the-fly, transformations .A developer can achieve such result in a reusable fashion with the following implementation:
index.js
lib/on-response.js
Why not generalising this approach and make it a feature of fast-gateway?
ps I'm using the built-in
pipeline
here that can supersedes the 3d partypump