Skip to content

Transition arguments should be available in onInvalidTransition and onPendingTransition #159

Open
@scotthulluk

Description

@scotthulluk

Simple fix - useful for my custom compiler to determine where in the code to be parsed it failed.

if (!to)
      return this.context.onInvalidTransition(transition, from, to, args); // Add args param

    if (this.isPending())
      return this.context.onPendingTransition(transition, from, to, args); // Add args param

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions