okteto icon indicating copy to clipboard operation
okteto copied to clipboard

GraphQL client not parsing Metadata from errors

Open teresaromero opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. When implementing a new API Error which is thrown with Metadata using GraphQL Extensions, the CLI is not capable to get this Metadata

Describe the solution you'd like CLI is able to interpret a GraphQL Error with Metadata

Found while implementing https://github.com/okteto/okteto/pull/2923

teresaromero avatar Jul 14 '22 11:07 teresaromero

This is due to the library we use for doing graphql requests. When there is an error in the request, they are just getting the Message and the Localtions.

We might need to check if there is a newer version of the library which supports it or we might need to use another library.

This only affects when using GraphQL Extensions as Tere mentioned

ifbyol avatar Jul 14 '22 11:07 ifbyol

This issue is stale because it has been open for 60 days with no activity. Comment on this issue or it will be closed in 7 days

github-actions[bot] avatar Sep 25 '22 10:09 github-actions[bot]

Reopening since it's not completed

jLopezbarb avatar Oct 03 '22 07:10 jLopezbarb

This issue is stale because it has been open for 60 days with no activity. Comment on this issue or it will be closed in 7 days

github-actions[bot] avatar Dec 02 '22 10:12 github-actions[bot]