I'm not sure whether or not this defined in the graphql standard or not, but when querying Monday.com and I receive
{
"error_message": "The board does not exist. Please check your board ID and try again",
"error_code": "InvalidBoardIdException",
"error_data": {
"board_id": 22222222
},
"status_code": 200,
"account_id": 3333333
}
so I created a fetcher wrapper (see below) to meet the assumptions of CreateFetcher, but I think it would be better to provide accept a method that will can determine if there was an error and extract them.
CreateFetcher
assumes that a graphQL error contains anerrors
root-node https://github.com/remorses/genql/blob/master/cli/src/runtime/fetcher.ts#L62I'm not sure whether or not this defined in the graphql standard or not, but when querying Monday.com and I receive
so I created a fetcher wrapper (see below) to meet the assumptions of CreateFetcher, but I think it would be better to provide accept a method that will can determine if there was an error and extract them.
Would that be an option?