Skip to content

feat: expand ToSlice to support arbitrary slice and array types - #370

Closed
AdamMagued wants to merge 1 commit into
spf13:masterfrom
AdamMagued:fix-issue-355
Closed

AdamMagued wants to merge 1 commit into
spf13:masterfrom
AdamMagued:fix-issue-355

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #355

Summary

  • Extended ToSliceE and ToSlice to accept any slice or array via reflection and convert elements into []any.
  • Added unit tests verifying typed slices, custom slice types, and array inputs.

Verified via container sandbox test suite.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>
@CLAassistant

CLAassistant commented Oct 9, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@AdamMagued

Copy link
Copy Markdown
Author

Closing in favor of existing pull request #369.

@AdamMagued AdamMagued closed this Oct 9, 2026
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.

Feature: ToSlice

2 participants