Get back panic in macro [skip ci]

This commit is contained in:
nWacky 2019-11-13 16:59:21 +03:00 committed by theduke
parent 2144ad0d7d
commit eb85fefc36

View file

@ -946,7 +946,10 @@ impl GraphQLTypeDefiniton {
match field {
#( #resolve_matches_async )*
_ => {
panic!("Field {} not found on type {}", field, "Mutation");
panic!("Field {} not found on type {:?}",
field,
<Self as #juniper_crate_name::GraphQLType<#scalar>>::name(info)
);
}
}
}