Closed pdt256 closed 7 years ago
An authorization context will need to be added to all uses cases.
3 down:
egrep -R 'implements (Command|Query)HandlerInterface' src/ActionHandler|wc -l
3
124 to go:
egrep -R 'class.*Handler$' src/ActionHandler|wc -l
124
6 TODOs to cleanup when complete:
$ egrep -iR 'todo.*98' vendor/inklabs/kommerce-core
vendor/inklabs/kommerce-core/src/Action/User/LoginCommand.php:// TODO: Move ActionInterface to be extended by CommandInterface when #98 is complete
vendor/inklabs/kommerce-core/src/Lib/Command/CommandBus.php: // TODO: Remove when #98 is complete
vendor/inklabs/kommerce-core/src/Lib/Command/CommandInterface.php:// TODO: Switch back when #98 is complete
vendor/inklabs/kommerce-core/src/Lib/Mapper.php: * @param ActionInterface|CommandInterface|QueryInterface $action TODO: Switch to ActionInterface after #98
vendor/inklabs/kommerce-core/src/Lib/Mapper.php: // TODO: Switch back when #98 is complete
vendor/inklabs/kommerce-core/tests/Lib/MapperTest.php: // TODO: Add when #98 is complete
This is significantly larger than planned.
24 down, approximately 100 to go.
Forgot to associate this commit: a63a58a341b15b6c222b3486169129bf65faf3cb
Adding authorization context to 5 Tag commands. Removing TagService.
68 down, 65 to go. Past the halfway point!
100 down, 32 to go. So close.
All 131 actions now have an authorization context!
Relates to #96