Working around updated gqlclient error wrapping changes
1 files changed, 4 insertions(+), 0 deletions(-) M client.go
M client.go => client.go +4 -0
@@ 41,6 41,10 @@ func Execute(ctx context.Context, op *gqlclient.Operation, result interface{}) e client = gqlclient.New(origin, httpClient) err := client.Execute(ctx, op, &result) if graphErrors, ok := err.(interface{ Unwrap() []error }); ok { errs := graphErrors.Unwrap() err = errs[0] } return err }