vektah / gqlparser

A port of the parser from graphql-js into golang
MIT License
498 stars 123 forks source link

When format a doc without description, don't add new line between args #327

Closed fredzqm closed 2 weeks ago

fredzqm commented 2 weeks ago

Follow up to https://github.com/vektah/gqlparser/pull/325.

I found a minor annoying "bug" when formatting arguments with descriptions.

I have:

coveralls commented 2 weeks ago

Coverage Status

coverage: 87.553%. remained the same when pulling 532cbeb3ac5b7a08c7a6adbc421a26fe65fc2c3b on fredzqm:fz/no-desc into 8dbbe55439ae1afe792a742c0ac096878a76b391 on vektah:master.

StevenACoffman commented 2 weeks ago

Oh, thanks. That's nicer to look at.