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;
|
||||
|
||||
graphql_object!(CommasOnMeta: () |&self| {
|
||||
interfaces: [Interface],
|
||||
description: "A description",
|
||||
|
|
|
@ -53,7 +53,7 @@ impl Concrete {
|
|||
}
|
||||
}
|
||||
|
||||
graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| {
|
||||
graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| {
|
||||
instance_resolvers: |&_| {
|
||||
&Concrete => match *self { CustomName::Concrete(ref c) => Some(c) }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue