Skip to content

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