-
Notifications
You must be signed in to change notification settings - Fork 4
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
Serialized key function #58
Conversation
@PizzaCatKing thoughts on this pr? |
hey @PizzaCatKing what is left for this PR? do we need more tests or docs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figure this layers on top of #66, so #66 lets you specify a class-level function for serialized keys and this one lets you specify a property-level function. The order of precedence doesn't change: you can specify a string or function at the property level, and if you don't, the class-level tsTransformKey() will be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we'll need ToSerializedKeyStrategy
for node right,
this is awesome though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thank you
Fixes
fixes #7
Description
Adds the ability to use a property key transform function as a serialized key
Proposed changes in this PR
Things to look at