GQL Interface resolve logging

gql_cataclysm
noah metz 2023-07-31 19:38:30 -06:00
parent ed9c353b95
commit 5bef8d96ba
1 changed files with 1 additions and 0 deletions

@ -56,6 +56,7 @@ func NodeInterfaceResolveType(required_extensions []ExtType, default_type **grap
} }
gql_type, exists := ctx.GQLContext.NodeTypes[node.Result.NodeType] gql_type, exists := ctx.GQLContext.NodeTypes[node.Result.NodeType]
ctx.Context.Log.Logf("gql", "GQL_INTERFACE_RESOLVE_TYPE(%+v): %+v - %t - %+v", node, gql_type, exists, required_extensions)
if exists == false { if exists == false {
for _, ext := range(required_extensions) { for _, ext := range(required_extensions) {
_, exists := node.Result.Extensions[ext] _, exists := node.Result.Extensions[ext]