aws-amplify / aws-amplify/amplify-codegen

Angular service hides GraphQL errors

Open
#724 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
59
Forks
64
PR merge metrics
No merged PRs in 30d

Description

The code just ignores the GraphQL response errors and returns the data (which will be null):
https://github.com/aws-amplify/amplify-codegen/blob/8c78e9737af95febf1f4dfe83077068d8497744b/packages/graphql-types-generator/src/angular/index.ts#L225

So using this library there is no way to access the errors array.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.