[−][src]Macro juniper::graphql_union 
Expose GraphQL unions
Like interfaces, mapping unions can be tricky in idiomatic Rust. Because of their similarity, the helper macros are similar, too: you provide a set of expressions that resolve the union into the actual concrete type.
Syntax
See the documentation for graphql_object! on the general item and type
syntax. graphql_union! supports only description and interface_resolvers
items, no fields or interfaces can be declared.
See the documentation for graphql_interface! on the syntax for interface
resolvers.