Replies: 3 comments
-
Hi! Assuming this is a Rust plugin, various request and response structs have a That same context is also available from Rhai scripts. |
Beta Was this translation helpful? Give feedback.
-
I've converted this to a discussion as this is more of a general support request. |
Beta Was this translation helpful? Give feedback.
-
Apology for the late response, I've tried the context object and it is working - thank you @SimonSapin and @BrynCooke 🙏 |
Beta Was this translation helpful? Give feedback.
-
Describe the solution you'd like
Hi all, I am new to rust and the apollo router - a question I have is what's the best way here to pass data between map_requset and map_response?
Essentially I am trying to see how can I pass request id in the request stage to the response stage, so I can append the request id to the response header.
Thanks for reading the question and all efforts are appreciated!
Beta Was this translation helpful? Give feedback.
All reactions