[BUG] Stack overflow when using http clients against Dgraph's graphQL endpoint

I have created GitHub - droslean/dgraph-bug-stack-overflow: This is a replication of a stack overflow panic that occurs when trying to run a mutation against a Dgraph instance using Go http client. to replicate the bug. Please check.