Skip to content

Releases: paritytech/scale-type-resolver

v0.2.0

29 Apr 09:42
d8e391e
Compare
Choose a tag to compare

0.2.0 - 29-04-2024

  • Provide a path iterator to composite, variant and sequence callbacks in ResolveTypeVisitor, so that people can access the path/name of these types. The path is also exposed in the concrete visitor implementation.
  • Make TypeId be passed by value and not lifetime. This is done because:
    1. scale-info uses a TypeId = u32, so it does not matter either way, and
    2. scale-info-legacy uses TypeId = TypeName, and needs to modify the TypeNames provided back in some cases, making pass-by-reference impossible.