Skip to content

Feature/raw scale encoding#117

Merged
valentunn merged 8 commits intodevelopfrom
feature/raw_scale_encoding
Oct 13, 2025
Merged

Feature/raw scale encoding#117
valentunn merged 8 commits intodevelopfrom
feature/raw_scale_encoding

Conversation

@valentunn
Copy link
Copy Markdown
Contributor

  • Support for raw scale serialization
  • Support for encoding regular enums to DictEnum.Entry with null associated value
  • Improve error messages for enum decoding

Changes

Raw scale serialization

  • Useful when we want to operate low level scale structures for some of the fields / arguments
  • RawScaleValue can be used for fields
  • AsRawScaleValue wrapper can be used for top-level serialization (e.g. storage keys / whole values)

Regular enum encoding to DictEnum.Entry with null associated value

  • IntroducedAsDictEnum annotation that can be applied to enum class to signal that it should be encoded as DictEnum.Entry

@valentunn valentunn merged commit 2acffc2 into develop Oct 13, 2025
1 check failed
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.

1 participant