Try to pass reflect.Type as pointer
parent
88a55cd095
commit
b174727bda
6
gql.go
6
gql.go
|
|
@ -534,11 +534,11 @@ func MakeGQLHandlers(ctx * GraphContext, server * GQLThread) (func(http.Response
|
|||
}
|
||||
gql_ctx := context.Background()
|
||||
gql_ctx = context.WithValue(gql_ctx, "valid_nodes", valid_nodes)
|
||||
gql_ctx = context.WithValue(gql_ctx, "node_type", node_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "node_type", &node_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "valid_lockables", valid_lockables)
|
||||
gql_ctx = context.WithValue(gql_ctx, "lockable_type", lockable_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "lockable_type", &lockable_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "valid_threads", valid_threads)
|
||||
gql_ctx = context.WithValue(gql_ctx, "thread_type", thread_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "thread_type", &thread_type)
|
||||
gql_ctx = context.WithValue(gql_ctx, "gql_server", server)
|
||||
gql_ctx = context.WithValue(gql_ctx, "graph_context", ctx)
|
||||
return GQLHandler(ctx, schema, gql_ctx), GQLWSHandler(ctx, schema, gql_ctx)
|
||||
|
|
|
|||
Loading…
Reference in New Issue