So at the moment we have a few integrations and they have a slightly different way to setting headers and status code.
The general idea is the same, we provide a response
object in info.context
. This object is based on the current integration, this is where the differences between integrations come into play.
I think we should provide a new object (unfortunately we can't replace the current one due to backwards compatibility) that allows to:
Having this could also help us prevent some mistakes, for example, should we allow to set the status code multiple times?
What do you think?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too