@@ -38,7 +38,7 @@ graphql_object!(Concrete: () |&self| {
38
38
39
39
graphql_union ! ( DefaultName : ( ) |& self | {
40
40
instance_resolvers: |& _| {
41
- Concrete => match * self { DefaultName :: Concrete ( ref c) => Some ( c) }
41
+ & Concrete => match * self { DefaultName :: Concrete ( ref c) => Some ( c) }
42
42
}
43
43
} ) ;
44
44
@@ -57,27 +57,27 @@ graphql_union!(<T> WithGenerics<T>: () as "WithGenerics" |&self| {
57
57
graphql_union ! ( DescriptionFirst : ( ) |& self | {
58
58
description: "A description"
59
59
instance_resolvers: |& _| {
60
- Concrete => match * self { DescriptionFirst :: Concrete ( ref c) => Some ( c) }
60
+ & Concrete => match * self { DescriptionFirst :: Concrete ( ref c) => Some ( c) }
61
61
}
62
62
} ) ;
63
63
64
64
graphql_union ! ( ResolversFirst : ( ) |& self | {
65
65
instance_resolvers: |& _| {
66
- Concrete => match * self { ResolversFirst :: Concrete ( ref c) => Some ( c) }
66
+ & Concrete => match * self { ResolversFirst :: Concrete ( ref c) => Some ( c) }
67
67
}
68
68
description: "A description"
69
69
} ) ;
70
70
71
71
graphql_union ! ( CommasWithTrailing : ( ) |& self | {
72
72
instance_resolvers: |& _| {
73
- Concrete => match * self { CommasWithTrailing :: Concrete ( ref c) => Some ( c) }
73
+ & Concrete => match * self { CommasWithTrailing :: Concrete ( ref c) => Some ( c) }
74
74
} ,
75
75
description: "A description" ,
76
76
} ) ;
77
77
78
78
graphql_union ! ( ResolversWithTrailingComma : ( ) |& self | {
79
79
instance_resolvers: |& _| {
80
- Concrete => match * self { ResolversWithTrailingComma :: Concrete ( ref c) => Some ( c) } ,
80
+ & Concrete => match * self { ResolversWithTrailingComma :: Concrete ( ref c) => Some ( c) } ,
81
81
}
82
82
description: "A description"
83
83
} ) ;
0 commit comments