gqlgen v0.13.0 Release Notes
Release Date: 2020-09-21 // over 3 years ago-
๐ 07c1f93b release v0.13.0
๐ 259f2711 Bump to gqlparser to v2.1.0 Error unwrapping release
๐ 669a1668 Merge pull request #1312 from 99designs/error-wrapping
Always wrap user errors
๐ 9b948a5f Merge pull request #1316 from skaji/is-resolver
โ Add IsResolver to FieldContext
- โ 77aeb477 Point latest docs to v0.12.2
e821b97b Always wrap user errors (closes #1305)
Requires use of go 1.13 error unwrapping.
On measure I think I prefer this approach, even though it's a bigger BC break:
- There's less mutex juggling
- It has never felt right to me that we make the user deal with path when overriding the error presenter
- 0๏ธโฃ The default error presenter is now incredibly simple
Questions:
- ๐ Are we comfortable with supporting 1.13 and up?
- Should we change the signature of
ErrorPresenterFunc
tofunc(ctx context.Context, err *gqlerror.Error) *gqlerror.Error
?- It always is now, and breaking BC will force users to address the requirement for
errors.As
- It always is now, and breaking BC will force users to address the requirement for
๐ 51b580de Merge pull request #1324 from bemasher/patch-1
๐ Fix typos in README.md
โ๏ธ 8b2a023c Fix typos in README.md
โ 3e5dd956 add test for FieldContext.IsResolver
1524989b go generate
55951163 add IsResolver to FieldContext
๐ 622316e7 Merge pull request #1295 from a-oz/a-oz-patch-1
โก๏ธ Update getting-started.md
โก๏ธ 4c11d9fa Update getting-started.md
๐ fix typo
- ๐ b4375b04 v0.12.2 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->