Skip to content

Releases: lab259/errors

v2.3.1

29 Jul 17:24
ad93b65
Compare
Choose a tag to compare

What's Changed?

  • Previous matchers for GraphQL using httpexpect were added back.

Version 2.3.0

05 Jul 14:34
b961441
Compare
Choose a tag to compare

What's new?

Matches for GraphQL errors now use github.com/vektah/gqlparser types, instead of httpexpect:

  • HaveCode: check for Code extension
  • HaveMessage: check for Message extension
  • ContainMessage: check if Message extension or Message attribute contains substring
  • HaveModule: check for Module extension
  • HaveValidation: 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 and gqlerrors).

Version 2.2.0: Go Modules

01 Jul 17:21
Compare
Choose a tag to compare

v2.1.0

23 May 18:25
Compare
Choose a tag to compare

Enhancements

  • #7: Add testing for GraphQL;

Bugs

  • #5: It panics when calling Error() in HttpError without reason;

v2.0.0

06 May 05:20
af7d9ba
Compare
Choose a tag to compare
Merge pull request #2 from lab259/issue-1

Adds test utility for validation errors

v1.0.0

06 May 05:19
Compare
Choose a tag to compare
Add the matcher for modules