Skip to content

Develop#39

Merged
Flussen merged 2 commits intomasterfrom
develop
Jan 18, 2026
Merged

Develop#39
Flussen merged 2 commits intomasterfrom
develop

Conversation

@Flussen
Copy link
Member

@Flussen Flussen commented Jan 18, 2026

No description provided.

Add detection and handling for spread parameters (...args) in command handlers to differentiate from regular array parameters.

- Add `hasSpreadParam` flag to CommandMetadata to track spread operator usage
- Implement `getSpreadParameterIndices` helper to detect spread parameters from function signatures
- Flatten last array argument when spread operator is detected, passing individual arguments to handler
- Keep array parameters as single array
Updates version number and release notes for v0.3.2, which focuses on fixing command parameter handling to correctly differentiate between spread operators and array parameters, resolving argument passing inconsistencies in Command and NetEvents systems.
@Flussen Flussen merged commit 3ca5dae into master Jan 18, 2026
1 check passed
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