Skip to content

Support array inputs in length pipeline task#22694

Open
Crazyjelly0505 wants to merge 1 commit into
smartcontractkit:developfrom
Crazyjelly0505:task7926
Open

Support array inputs in length pipeline task#22694
Crazyjelly0505 wants to merge 1 commit into
smartcontractkit:developfrom
Crazyjelly0505:task7926

Conversation

@Crazyjelly0505
Copy link
Copy Markdown

Summary

  • update the length pipeline task to return element counts for array/slice inputs
  • support JSON array strings such as [1,2,3]
  • preserve existing string and bytes length behavior

Fixes #7926

Tests

  • go test ./core/services/pipeline -count=1

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.

[FEAT] Length task to return the length of a JSON Array

1 participant