Formatting
This commit is contained in:
parent
ffe00b9fa3
commit
db0d5952dd
2 changed files with 1 additions and 2 deletions
|
@ -84,7 +84,6 @@ graphql_object!(CommasWithTrailing: () |&self| {
|
||||||
});
|
});
|
||||||
|
|
||||||
struct CommasOnMeta;
|
struct CommasOnMeta;
|
||||||
|
|
||||||
graphql_object!(CommasOnMeta: () |&self| {
|
graphql_object!(CommasOnMeta: () |&self| {
|
||||||
interfaces: [Interface],
|
interfaces: [Interface],
|
||||||
description: "A description",
|
description: "A description",
|
||||||
|
|
|
@ -53,7 +53,7 @@ impl Concrete {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| {
|
graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| {
|
||||||
instance_resolvers: |&_| {
|
instance_resolvers: |&_| {
|
||||||
&Concrete => match *self { CustomName::Concrete(ref c) => Some(c) }
|
&Concrete => match *self { CustomName::Concrete(ref c) => Some(c) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue