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

Add option to allow usage of custom parser #471

Closed
wants to merge 1 commit into from
Closed

Add option to allow usage of custom parser #471

wants to merge 1 commit into from

Conversation

MasterOdin
Copy link
Contributor

@MasterOdin MasterOdin commented Dec 5, 2022

Closes #469

This PR adds a new parser option to the adapter constructor to allow setting a custom parser to use, defaulting to using notepack.io. This would allow someone to use a different msgpack library if they wanted, or even an entirely different protocol altogether (e.g. protobuf).

I looked into writing tests for this, but wasn't sure what the best way to incorporate them. Would you want me to modify the setup in index.ts or add a second test file custom-parser.ts?

darrachequesne pushed a commit that referenced this pull request Dec 7, 2022
This PR adds a new parser option to the adapter constructor to allow
setting a custom parser to use, defaulting to using notepack.io. This
would allow someone to use a different msgpack library if they wanted,
or even an entirely different protocol altogether (e.g. protobuf).

Related:

- #462
- #469
@darrachequesne
Copy link
Member

Merged as 73f6320. Thanks 👍

@MasterOdin MasterOdin deleted the feat-custom-parser branch December 7, 2022 07:09
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.

Allow setting custom msgpack library to use
2 participants