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

impossible to use 0 as extension type ? #150

Open
gjf7 opened this issue Oct 18, 2024 · 0 comments
Open

impossible to use 0 as extension type ? #150

gjf7 opened this issue Oct 18, 2024 · 0 comments

Comments

@gjf7
Copy link

gjf7 commented Oct 18, 2024

First of all, thanks for making this great package!

Docs state that extension type code (should be a number from 1-100, reserving negatives for MessagePack, 101-127 for msgpackr).

But in some case, we might need to use 0 as extension type, got error

Uncaught TypeError: currentExtensions[type] is not a function

Just wanna make sure this is impossible, right ?

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

No branches or pull requests

1 participant