Skip to content

Commit

Permalink
graphql: Fix _meta query failure due to incorrect selection set use i…
Browse files Browse the repository at this point in the history
…n introspection
  • Loading branch information
incrypto32 committed Mar 7, 2024
1 parent cf5997d commit 3c03b3f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions graphql/src/execution/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,8 @@ pub(crate) async fn execute_root_selection_set_uncached(
let ictx = ctx.as_introspection_context();

values.append(
execute_selection_set_to_map(
&ictx,
ctx.query.selection_set.as_ref(),
&*INTROSPECTION_QUERY_TYPE,
None,
)
.await?,
execute_selection_set_to_map(&ictx, &intro_set, &*INTROSPECTION_QUERY_TYPE, None)
.await?,
);
}

Expand Down

0 comments on commit 3c03b3f

Please sign in to comment.