graphql-engine/v3/crates/metadata-resolve
Samir Talwar 7281322f51 Enable a few lint warnings around conditions, and fix the highlighted areas. (#662)
1. Use `map_or(…, …)` instead of `.map(…).unwrap_or(…)`.
2. Use `.is_some_and(…)` instead of `.map(…).unwrap_or_default(…)`.
3. Nest `|` patterns where possible.
4. Be more specific about match patterns.

I found I could also simplify `typecheck_qualified_type_reference`
considerably.

V3_GIT_ORIGIN_REV_ID: 6a3b1a4c525c0187c2fdb6df0c979ca0b7b3016c
2024-06-05 08:42:03 +00:00
..
src Enable a few lint warnings around conditions, and fix the highlighted areas. (#662) 2024-06-05 08:42:03 +00:00
tests Resolve boolean_expression_type metadata (#630) 2024-06-03 13:35:49 +00:00
Cargo.toml Resolve boolean_expression_type metadata (#630) 2024-06-03 13:35:49 +00:00