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
session: Add a trait to guard against bad ResT in run_query
run_query, execute_query, etc have a template type called ResT.
There was a bug where ResT was set to QueryResponse, which could
be an error response. This was not caught by retry policy which
assumed all errors would come from analyzing Result<ResT, QueryError>.
(#501)
This trait is a guard to make sure that this mistake doesn't
happen again. All ResT uses must be validated by implementing
this trait.
Signed-off-by: Jan Ciolek <[email protected]>
0 commit comments