You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jsonrpsee relies on http::Extensions both for http middleware and rpc middleware which works based on Rust type ids so if one injects Vec<String> in the extensions for instance in a batch request with several calls the last item "wins" and simply replaces it.
This is not ideal and would be much better to use some other internal data structure to merge such data
jsonrpsee relies on
http::Extensions
both for http middleware and rpc middleware which works based onRust type ids
so if one injectsVec<String>
in the extensions for instance in a batch request with several calls the last item "wins" and simply replaces it.This is not ideal and would be much better to use some other internal data structure to merge such data
There is another crate https://docs.rs/polymap/latest/polymap/polymap/struct.PolyMap.html that may be useful for this
For further context see #1509 and #1514
The text was updated successfully, but these errors were encountered: