lynxtaa / awesome-graphql-client

GraphQL Client with file upload support for NodeJS and browser
https://npm.im/awesome-graphql-client
MIT License
59 stars 7 forks source link

add extensions to GraphQLRequestError #76

Closed codebdy closed 2 years ago

codebdy commented 2 years ago

this feathure can support error code etc

codecov-commenter commented 2 years ago

Codecov Report

Base: 100.00% // Head: 99.21% // Decreases project coverage by -0.78% :warning:

Coverage data is based on head (11367c2) compared to base (66283f3). Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #76 +/- ## =========================================== - Coverage 100.00% 99.21% -0.79% =========================================== Files 8 8 Lines 125 127 +2 Branches 36 37 +1 =========================================== + Hits 125 126 +1 - Misses 0 1 +1 ``` | [Impacted Files](https://codecov.io/gh/lynxtaa/awesome-graphql-client/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Kondratyuk) | Coverage Δ | | |---|---|---| | [src/AwesomeGraphQLClient.ts](https://codecov.io/gh/lynxtaa/awesome-graphql-client/pull/76/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Kondratyuk#diff-c3JjL0F3ZXNvbWVHcmFwaFFMQ2xpZW50LnRz) | `100.00% <ø> (ø)` | | | [src/GraphQLRequestError.ts](https://codecov.io/gh/lynxtaa/awesome-graphql-client/pull/76/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Kondratyuk#diff-c3JjL0dyYXBoUUxSZXF1ZXN0RXJyb3IudHM=) | `87.50% <50.00%> (-12.50%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Kondratyuk). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex+Kondratyuk)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

lynxtaa commented 2 years ago

Thanks!