-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat[serializers]: specify default JSON encoders to make subclassing more easily #42
base: main
Are you sure you want to change the base?
Conversation
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.
Can you write tests?
Hm, what should be tested here? |
da7e65f
to
323f590
Compare
@cassiobotaro FYI: rebased onto latest changes. |
@spaceone You are right about the tests, What about updating the JSON example on README too? |
a little bit gain of memory usage for multiple instances
323f590
to
24ec9ab
Compare
Ok, I adjusted this as well. But I don't think it must be identical to the implementation. Otherwise the README could just link to the source code. |
feat[serializers]: specify default JSON encoders
→ make subclassing more easily
feat[serializers]: specify empty
__slots__
for serializer classes→ a little bit gain of memory usage for multiple instances