Skip to content

Commit de4c0e9

Browse files
authored
juniper_codegen: macro hygiene for graphql_subscription (#948)
Fully qualify `std::result::Result` such that it doesn't collide with locally defined type aliases for `Result`. This improves macro hygiene.
1 parent d4fda78 commit de4c0e9

File tree

1 file changed

+1
-1
lines changed
  • juniper_codegen/src/util

1 file changed

+1
-1
lines changed

juniper_codegen/src/util/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ impl GraphQLTypeDefiniton {
13991399
executor: &'ref_e ::juniper::Executor<'ref_e, 'e, Self::Context, #scalar>,
14001400
) -> std::pin::Pin<Box<
14011401
dyn ::juniper::futures::future::Future<
1402-
Output = Result<
1402+
Output = std::result::Result<
14031403
::juniper::Value<::juniper::ValuesStream<'res, #scalar>>,
14041404
::juniper::FieldError<#scalar>
14051405
>

0 commit comments

Comments
 (0)