Skip to content

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