Skip to content

Conversation

@jsdw
Copy link
Collaborator

@jsdw jsdw commented Dec 16, 2025

Add implementations of EncodeAsFields for Vec<T>, [T; N], &[T] and tuples, so long as the values implement EncodeAsType.

One reason for this is that the new Subxt v0.50.0 is more generic in places that previously accepted specifically an Into<Composite<()>> type (which is implemented for Vec<Value<()>>). Now that we directly accept impl EncodeAsFields, we want types like Vec<Value<()>> to remain valid, to minimise breakage/added complexity.

@jsdw jsdw merged commit fc7d8ea into main Dec 16, 2025
9 checks passed
@jsdw jsdw deleted the release-v0.10.1 branch December 16, 2025 17:15
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