aws-amplify / aws-amplify/amplify-codegen
Angular service hides GraphQL errors
Open
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
Assessment
This issue has not been assessed yet.