This commit is contained in:
sunli 2020-03-19 17:33:33 +08:00
parent 70a545160a
commit c627ca754e

View File

@ -83,7 +83,7 @@ pub fn generate(interface_args: &args::Interface, input: &DeriveInput) -> Result
#(#registry_types)*
#crate_name::registry::Type::Union {
name: #gql_typename,
name: #gql_typename.to_string(),
description: #desc,
possible_types: {
let mut possible_types = std::collections::HashSet::new();