You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, composing the same command multiple times using constructors/factories will cause an IllegalArgumentException in CommandScheduler.registerComposedCommands due to set semantics. It's not immediately clear what caused it as the exception occurs multiple levels below the user's code.
We also should test this behavior - composing the same command twice should fail.
The text was updated successfully, but these errors were encountered:
rzblue
changed the title
Better error message/handling for composing duplicate commands
[cmd] Better error message/handling for composing duplicate commands
Dec 22, 2023
rzblue
changed the title
[cmd] Better error message/handling for composing duplicate commands
[cmd] Better error message/handling for composing duplicate commands in the same composition
Dec 22, 2023
Currently, composing the same command multiple times using constructors/factories will cause an IllegalArgumentException in
CommandScheduler.registerComposedCommands
due to set semantics. It's not immediately clear what caused it as the exception occurs multiple levels below the user's code.We also should test this behavior - composing the same command twice should fail.
The text was updated successfully, but these errors were encountered: