Documentation out of date
crlo opened this issue · comments
addSubCommand(CommandA);
as far as I can see in the code it is just
add(CommandA);
updated and improved, let me know if it helps
Great that is awesome, thanks
Best regards
Christen Ravn Lorensen
Team Lead
MovieStarPlanet
Amagerfælledvej 56, 1 (2nd floor)
2300 Copenhagen, Denmark
Email: chl@moviestarplanet.com
Den 10-07-2013 10:20, Alessandro Bianco skrev:
updated and improved, let me know if it helps
—
Reply to this email directly or view it on GitHub
#2 (comment).
Ok I still have problems with the
const data:SomeModel = new SomeModel()
add(Action).withPayloads(data);
I get a runtime error where it says that it can't get SomeModel to
correspond to SubCommandPayload
Best regards
Christen Ravn Lorensen
Team Lead
MovieStarPlanet
Amagerfælledvej 56, 1 (2nd floor)
2300 Copenhagen, Denmark
Email: chl@moviestarplanet.com
Den 10-07-2013 10:20, Alessandro Bianco skrev:
updated and improved, let me know if it helps
—
Reply to this email directly or view it on GitHub
#2 (comment).
I see, that's a bug introduced in the latest refactor that i'll need to fix
as a workaround for now, you can use the other method and pass an instance of SubCommandPayload to the withPayloads method
yep, thats what I am doing
Best regards
Christen Ravn Lorensen
Team Lead
MovieStarPlanet
Amagerfælledvej 56, 1 (2nd floor)
2300 Copenhagen, Denmark
Email: chl@moviestarplanet.com
Den 10-07-2013 13:21, Alessandro Bianco skrev:
I see, that's a bug introduced in the latest refactor that i'll need
to fixas a workaround for now, you can use the other method and pass an
instance of SubCommandPayload to the withPayloads method—
Reply to this email directly or view it on GitHub
#2 (comment).