Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing error codes #31

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

jspahrsummers
Copy link
Member

@jspahrsummers jspahrsummers commented Nov 1, 2024

This was quite an annoying bug! If code was somehow not convertible to a number, it'd become NaN, then the field would be set to null, which is invalid in the protocol and caused parse errors on the other side.

This is the underlying cause for the postgres example server seemingly hanging on resources/list, if no DB connection is available.

To do

After merging

  • Publish package update
  • Update dependent projects

Copy link
Member

@ashwin-ant ashwin-ant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@jspahrsummers jspahrsummers merged commit 9b4c949 into main Nov 1, 2024
4 checks passed
@jspahrsummers jspahrsummers deleted the justin/fix-missing-error-code branch November 1, 2024 15:57
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.

2 participants