Add more gql logging

graph-rework-2
noah metz 2023-06-28 01:31:19 -06:00
parent 4db1b6446c
commit 65c653b896
1 changed files with 1 additions and 0 deletions

@ -157,6 +157,7 @@ func GQLInterfaceLockable() *graphql.Interface {
if ok == false { if ok == false {
return nil return nil
} }
ctx.Log.Logf("gql", "LOCKABLE_RESOLVE: %+v", p.Value)
valid_lockables, ok := p.Context.Value("valid_lockables").(map[reflect.Type]*graphql.Object) valid_lockables, ok := p.Context.Value("valid_lockables").(map[reflect.Type]*graphql.Object)
if ok == false { if ok == false {
ctx.Log.Logf("gql", "Failed to get valid_lockables from Context") ctx.Log.Logf("gql", "Failed to get valid_lockables from Context")