router icon indicating copy to clipboard operation
router copied to clipboard

Add the ability to insert header from the context in the header layer

Open bnjjj opened this issue 3 years ago • 3 comments
trafficstars

Following a discussion and suggestion from @Geal it could be great to add the ability for a user to insert a header from the context in the header layer

bnjjj avatar Feb 24 '22 15:02 bnjjj

@bnjjj Do you mind taking another look at this when you have a chance? Is this still relevant or something that we should talk about? (Feel free to close if you think it's settled!)

abernix avatar Mar 22 '22 10:03 abernix

I think yes it could be still relevant ! The idea is to be able to add a header with a value fetched from our extensions given a key. It's not a big priority and could be deferred

bnjjj avatar Mar 22 '22 11:03 bnjjj

To quote a bit from a non-GitHub convo:

In general, would be interested in finding a way for plugins to communicate with each other. E.g., a notification plugin might need to get the identity and put that into the context for another plugin to see, "okay, do I need to assign something else to a subgraph? do I need to integrate that inside the query exection?". a way to put something into the context and get something from the context, too. -@Geal

abernix avatar Jun 17 '22 07:06 abernix