online-auction-java
online-auction-java copied to clipboard
Update CreateItem command
./item-impl/src/main/java/com/example/auction/item/impl/ItemServiceImpl.java:82:
// TODO: remove this PItem from here and pass the 3 values in the command?
./item-impl/src/main/java/com/example/auction/item/impl/PItemCommand.java:23:
// TODO: change payload of this command.
PItemCommand.CreateItem (item-impl) should take 3 params:
- itemId: UUID
- userId: UUID
- details: PItemData
And remove PItem object in ItemServiceImpl#createItem
Related #15