Closed manute closed 5 years ago
Hi , This lib is superb and we are using in prod so many thanks for creating it.
But there's a problem with the headers that are being always logged here https://github.com/machinebox/graphql/blob/master/graphql.go#L124, This could expose sensitive information, mostly auth headers.
Can we avoid logging those headers? (I can create the PR but I just wanted to ask first :) )
Thanks in advance
Sorry for the noise, we were using the client with
c.Graph.Log = func(s string) { log.Println(s) }
Hi , This lib is superb and we are using in prod so many thanks for creating it.
But there's a problem with the headers that are being always logged here https://github.com/machinebox/graphql/blob/master/graphql.go#L124, This could expose sensitive information, mostly auth headers.
Can we avoid logging those headers? (I can create the PR but I just wanted to ask first :) )
Thanks in advance