99designs / 99designs/gqlgen

error Extensions not returned

Open
#2,734 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
10.8k
Forks
1.3k
Avg merge
2d 36m
Merged PRs (30d)
26

Description

error Extensions not returned

graphql.AddError(ctx, &gqlerror.Error{ |~
18 | | Message: "A descriptive error message", |~
19 | | Extensions: map[string]interface{}{ |~
20 | | | "code": "10-4", |~
21 | | }, |~
22 | })

Extensions not returned.

"errors": [
{
"message": "input: A descriptive error message",
"path": [
"todos"
]
}
]

### versions
- gqlgen v0.17.35
- go version 1.20.5

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.