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

Simplify decoding #256

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Simplify decoding #256

merged 1 commit into from
Feb 23, 2024

Conversation

Orhideous
Copy link
Collaborator

decode_payload was, in fact, useless. There is no correct way to deal with invalid messages except of omitting them.

Also, JSON doesn't support NaNs and ±inf, so trying to sneak them to orjson (which, in turn «has strict JSON conformance in not supporting Nan/Infinity/-Infinity») makes no sense.

@Orhideous Orhideous requested a review from pschmitt February 22, 2024 16:57
@Orhideous Orhideous merged commit 291a363 into main Feb 23, 2024
10 checks passed
@Orhideous Orhideous deleted the fix/decoding branch February 23, 2024 11:43
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