Skip to content

Add dumpRenameHook#105

Open
iffy wants to merge 1 commit intotreeform:masterfrom
iffy:dumpRenameHook
Open

Add dumpRenameHook#105
iffy wants to merge 1 commit intotreeform:masterfrom
iffy:dumpRenameHook

Conversation

@iffy
Copy link

@iffy iffy commented Mar 5, 2026

As renameHook is for deserializing, dumpRenameHook is for serializing.

It seems like the correct change to achieve what I need, but I'm not sure how changing the v2 in dumpKey from a static string to a variable one will affect performance.

EDITED TO ADD: I'm fine if you reject this PR as I can achieve what I want by writing my own dumpHook (I just have to duplicate some object dumping logic).

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.

1 participant