Skip to content

fix(identity): return 404 Not Found when record does not exist - #71

Merged
dedyf5 merged 1 commit into
mainfrom
feat/identity
Oct 13, 2026
Merged

dedyf5 merged 1 commit into
mainfrom
feat/identity

Conversation

@dedyf5

@dedyf5 dedyf5 commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Handle sql.ErrNoRows in the Resolver.Resolve method to properly return an HTTP 404 status error instead of a 500 Internal Server Error when the requested entity cannot be found in the database.

Handle sql.ErrNoRows in the Resolver.Resolve method to properly return
an HTTP 404 status error instead of a 500 Internal Server Error when
the requested entity cannot be found in the database.
@dedyf5
dedyf5 merged commit c2a2dc0 into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant