Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Don't include errors when null #513

Open
AndrewWPhillips opened this issue Apr 7, 2022 · 0 comments
Open

Don't include errors when null #513

AndrewWPhillips opened this issue Apr 7, 2022 · 0 comments

Comments

@AndrewWPhillips
Copy link

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"`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant