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

registerDefaultSerializer registers metadata serializer as well #523

Open
MythicLionMan opened this issue Jul 15, 2020 · 0 comments
Open

Comments

@MythicLionMan
Copy link

The YapDatabase.registerDefaultSerializer() and YapDatabase.registerDefaultDeserializer() functions both register the object serializer/deserializer and the metadata serializer/deserializer despite the fact that the documentation states that they only register the object serializer/deserializer.

I'm not sure what the best behaviour would be. Existing code may depend on this functionality, so perhaps the documentation should just be updated to reflect reality. But there is no way to set (or clear) the default metadata serializer/deserializer.

For us the workaround is to not use the default and just explicitly configure the serializer/deserializer for each collection.

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