Skip to content

Support for nested properties breaks the rest argument [...] #30

@bclinkinbeard

Description

@bclinkinbeard

Migrated from SWIZ-65

When Swiz added support for nested properties on EventHandler tags (I think in 1.3?), it broke the ability to use the rest parameter.

E.g. this worked previously:
[EventHandler(event="MyEvent.MY_CONSTANT",properties="...rest")]
public function onMyEvent( ... rest ) : void { // do something with rest }

It seems like an acceptable tradeoff, but it should be documented that this is no longer possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions