graphql-engine/v3/crates/lang-graphql
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
..
benches Add ability to override interpretations of roles (#660) 2024-06-04 13:04:36 +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 Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
Cargo.toml Bump schemars from 0.8.19 to 0.8.20 (#592) 2024-05-20 08:45:48 +00:00