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 JSON serialisation and deserialisation to be configurable in the PostgresStorageAdapter #9

Open
tobyclemson opened this issue Dec 5, 2024 · 0 comments

Comments

@tobyclemson
Copy link
Member

tobyclemson commented Dec 5, 2024

Currently JSON serialisation and deserialisation in the PostgresStorageAdapter is via the built-in json.dumps and json.loads functions. These assume snake case keys for serialised JSON objects which may or may not meet the expectations of the user.

If a JSON codec could be supplied to the adapter at construction time, it would give the user more control over what ends up in their database.

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

No branches or pull requests

1 participant