Yamashou / gqlgenc

This is Go library for building GraphQL client with gqlgen
MIT License
370 stars 66 forks source link

Returan data when errors #185

Closed daisuke0925m closed 1 year ago

daisuke0925m commented 1 year ago

What

ParseDataWhenErrors: true

Why

In the current version of gqlgenc, even if ParseDataWhenErrors is set to true, only err is returned, making it impossible to compare the data field in tests. It's likely that users who set ParseDataWhenErrors to true also want to compare res at the same time.

Yamashou commented 1 year ago

@daisuke0925m Thanks!