When ParseDataWhenErrors is set to true, the function will return not only errors but also data field by res variable.
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.
What
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.