From 31ecc869ec5f3770e34f3b029cdc0d0aa28f0151 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Wed, 28 Jun 2023 01:35:17 -0600 Subject: [PATCH] Add more gql logging --- gql_graph.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gql_graph.go b/gql_graph.go index ca42dee..a9e4171 100644 --- a/gql_graph.go +++ b/gql_graph.go @@ -171,6 +171,7 @@ func GQLInterfaceLockable() *graphql.Interface { } p_type := reflect.TypeOf(p.Value) + ctx.Log.Logf("gql", "Value Type: %+v, Lockable Type: %+v", p_type, *lockable_type) for key, value := range(valid_lockables) { if p_type == key { @@ -569,6 +570,7 @@ func GQLTypeBaseLockable() * graphql.Object { } value_type := reflect.TypeOf(p.Value) + ctx.Log.Logf("gql", "BASE_VALUE_TYPE: %+v", value_type) if value_type.Implements(*lockable_type) { return true