8000 Fix no-rows bug with last message status by mastercactapus · Pull Request #4061 · target/goalert · GitHub
[go: up one dir, main page]

Skip to content

Fix no-rows bug with last message status - #4061

Merged
mastercactapus merged 1 commit into
masterfrom
last-status-no-rows-bug
Sep 9, 2024
Merged

mastercactapus merged 1 commit into
masterfrom
last-status-no-rows-bug

Conversation

@mastercactapus
Copy link
Copy Markdown
Member

This pull request improves the error handling for validation in GraphQL. It includes a fix for a bug where the LastMessageStatus function was returning an error when there were no rows found in the database. Now, if the query returns no rows, the function will return nil instead of an error. This improves the overall error handling and ensures a smoother experience when working with GraphQL validation.

@mastercactapus
mastercactapus merged commit ba53a0a into master Sep 9, 2024
@mastercactapus
mastercactapus deleted the last-status-no-rows-bug branch September 9, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0