avantgardnerio commented on PR #2309: URL: https://github.com/apache/arrow-rs/pull/2309#issuecomment-1205404438
> something like middleware to do this I could see the `handshake` method could maybe be turned into a middleware-style handler, but since it's part of the flight protocol spec it makes sense to me to proxy it up like the other methods. Do you have links handy for the other implementations? > Pass meta to every handler function The only other way I can think of doing it is with something like a `ThreadLocal` context, but a quick googling isn't providing me with an equivalent for co-routine context in Rust/Tokio. > Sorry I didn't pay attention No worries, thanks for getting it started! I'd have been lost without the foundation you laid :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
