online-auction-java icon indicating copy to clipboard operation
online-auction-java copied to clipboard

Update CreateItem command

Open yg-apaza opened this issue 7 years ago • 1 comments

./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

yg-apaza avatar Mar 27 '17 06:03 yg-apaza

Related #15

ignasi35 avatar Mar 23 '18 09:03 ignasi35