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

Allow specifying custom serializer/deserializer functions for storage #57

Merged
merged 4 commits into from
Jun 18, 2024

Conversation

tbrockman
Copy link
Contributor

@tbrockman tbrockman commented Jun 18, 2024

I use this in https://github.com/tbrockman/browser-extension-for-opentelemetry/blob/main/src/background.ts#L12 to support serde for Map, but I imagine this would be useful for others as well.

Copy link
Contributor

@louisgv louisgv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooh noice!

Copy link
Contributor

@louisgv louisgv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - beside some formatting. Will run prettier retrospectively

@louisgv louisgv merged commit f3aa1bd into PlasmoHQ:main Jun 18, 2024
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.

2 participants