Skip to content

Conversation

@powercode
Copy link

@powercode powercode commented Jan 27, 2026

PR Summary

Improve how Input and Output headers array types are handled when reading markdown.

PR Context

Input/Output type should read tokens of the inputOutputHeader.
For example:
System.String[] is currently parsed as the first token, System.String, skipping the second and third ([, ]).

With this change, the array types are parsed correctly.

Sample markdown:

## INPUTS

### System.String[]

You can pipe strings or string arrays to the cmdlet.

Staffan Gustafsson added 2 commits January 27, 2026 12:35
For example:
System.String[] would previously be read as the first token, 'System.String', and skip the second and third  ('[', ']').
@powercode powercode closed this Jan 27, 2026
@powercode powercode reopened this Jan 27, 2026
@powercode powercode changed the title Improve how Input and Output headers handles array types. Improve how Input and Output markdown headers handles array types. Jan 27, 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.

1 participant