-
Notifications
You must be signed in to change notification settings - Fork 240
Add a 'Bypass' type that just concatenates its contents to output#661
Open
marcoffee wants to merge 1 commit intomsgpack:main from
Open
Add a 'Bypass' type that just concatenates its contents to output #661marcoffee wants to merge 1 commit intomsgpack:main from
marcoffee wants to merge 1 commit intomsgpack:main from
Conversation
@marcoffee
marcoffee
force-pushed
the
feature/bypass
branch
from
February 13, 2026 14:02
195de14 to
f980636
Compare
@marcoffee
marcoffee
force-pushed
the
feature/bypass
branch
from
February 13, 2026 14:04
fe2648a to
e4ec35b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
This is a very useful feature for when you have a class that know how to convert its structure to msgpack (specially from compiled modules) and you don't want to have its contents converted to the binary object by returning the converted msgpack from
default.As an example,
orjsonhas a similar feature, which they callFragment.Some use cases include, but are not limited to:
PS: Sorry for closing and reopening it, I had some failed linter tests and wanted to fix them, but ended up pushing a version without any changes, which triggered GitHub's auto close feature.