Get back panic in macro [skip ci]
This commit is contained in:
parent
2144ad0d7d
commit
eb85fefc36
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue