Fix inline fragment bug
This commit is contained in:
parent
4e74044c54
commit
e6d219c44e
|
@ -64,7 +64,7 @@ pub fn generate(interface_args: &args::Interface, input: &DeriveInput) -> Result
|
|||
if let #ident::#enum_name(obj) = self {
|
||||
return #crate_name::collect_fields(ctx, obj, futures);
|
||||
}
|
||||
unreachable!()
|
||||
return Ok(());
|
||||
}
|
||||
});
|
||||
get_introspection_typename.push(quote! {
|
||||
|
|
|
@ -60,7 +60,7 @@ pub fn generate(interface_args: &args::Interface, input: &DeriveInput) -> Result
|
|||
if let #ident::#enum_name(obj) = self {
|
||||
return #crate_name::collect_fields(ctx, obj, futures);
|
||||
}
|
||||
unreachable!()
|
||||
return Ok(());
|
||||
}
|
||||
});
|
||||
get_introspection_typename.push(quote! {
|
||||
|
|
Loading…
Reference in New Issue
Block a user