Releases: vektah/gqlparser
Releases · vektah/gqlparser
v2.2.0
Added
- Support for directives on variable definitions (#135)
- Support for repeated directives, as per latest GraphQL spec (#148)
gqlerror.List
now meets the go 1.13 error interfaces forIs
andAs
(#147)- Support for coercing single value list inputs to lists of one element (#138)
- Support for VARIABLE_DEFINITION executable directive (#151)
Updated
- Improved formatting of block comments on args (#124)
- Aligned root type inference more closely to the spec (#144)
Fixed
- Ensure directives are only used in accordance with their definitions (#132) (#150)
- Fixed issue where default values were not considered when validating fields (#122)
Thanks to everyone who contributed to this release!
Error unwrapping
Updated
- GraphQL errors now satisfy the go 1.13 error unwrapping interface.
- This allows gqlgen to wrap all user errors at the point they returned to the runtime, allowing accurate GraphQL path information to be attached to the error.