Releases: lab259/errors
Releases · lab259/errors
v2.3.1
Version 2.3.0
What's new?
Matches for GraphQL errors now use github.com/vektah/gqlparser
types, instead of httpexpect
:
HaveCode
: check for Code extensionHaveMessage
: check for Message extensionContainMessage
: check if Message extension or Message attribute contains substringHaveModule
: check for Module extensionHaveValidation
: check for Validation extension (accepts multiple rules)
What's changed?
- Previous matchers for GraphQL using
httpexpect
were removed. - Fix coverage report not finding subpackages (
testing
andgqlerrors
).
Version 2.2.0: Go Modules
v2.1.0
v2.0.0
Merge pull request #2 from lab259/issue-1 Adds test utility for validation errors
v1.0.0
Add the matcher for modules