How to return custom error codes in glqgen + gin? #2654
karanbangia
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Want to have custom error code like
ctx.JSON(http.StatusNotFound, responseBody)
but gqlgen only handles it by returning array of error with status code 200, is there any way to solve this?Beta Was this translation helpful? Give feedback.
All reactions