Skip to content

Conversation

ckkz-it
Copy link

@ckkz-it ckkz-it commented Aug 18, 2021

Uses fix for serializing empty messages from danielgtaylor#180

Also fixes inheritance from betterproto messages (cover cases when it tries to resolve module by name in the module the class sits).

And serialize enum by value, instead of by name. This fixes cases for comparing

'IOS' in [DeviceType.IOS, DeviceType.Android]  # False - serializing by name
0 in [DeviceType.IOS, DeviceType.Android]  # True- serializing by value

@ckkz-it ckkz-it changed the title Empty fields fix [do not merge] Empty fields fix Aug 18, 2021
@maximagupov maximagupov changed the title [do not merge] Empty fields fix [do not merge] Empty fields fix (based on v2.0.0b1) Jul 25, 2022
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