graphql-engine/v3/crates
Samir Talwar 00e86292ac Upgrade indexmap and fix deprecation warnings. (#417)
`IndexMap::remove` has been deprecated in favor of
`IndexMap::swap_remove` (which has the same behavior, but is clearer
about breaking ordering) or `IndexMap::shift_remove`, which retains
order but is O(n) complexity.

I have taken a look at the areas where we use `.remove`. Where we
discard the map afterwards, I've changed it to `.swap_remove`. In one
case, we do return the data in the event of error, but we probably care
more about consistency of ordering than the actual precise order, so
I've used a `HashMap` and just sorted it instead.

V3_GIT_ORIGIN_REV_ID: 479e1013a4a9938f973b5ed85dbf3837896151e4
2024-03-28 15:24:03 +00:00
..
custom-connector Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
engine Upgrade indexmap and fix deprecation warnings. (#417) 2024-03-28 15:24:03 +00:00
hasura-authn-core Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
hasura-authn-jwt Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
hasura-authn-webhook Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
lang-graphql Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
open-dds Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
opendds-derive Remove unused dependencies using cargo machete. (#413) 2024-03-28 09:17:47 +00:00
recursion_limit_macro lang-graphql: limit recursion to avoid stack overflows 2024-03-27 23:03:27 +00:00
tracing-util re-add axum and machete-ignore it to fix tests run with cargo test (#418) 2024-03-28 11:28:48 +00:00