Don't include errors when null
AndrewWPhillips opened this issue · comments
Andrew W. Phillips commented
It's redundant (and makes it hard to write my load tests with jMeter) if the response JSON includes "error", null
.
Could you change https://github.com/samsarahq/thunder/blob/master/graphql/http.go#L39 to use omitempty please:
Errors []string `json:"errors,omitempty"`