bymrrockka / poker.clock

0 stars 0 forks source link

[Defect] Duplication of user nicknames in table cause exception during statistics route execution #47

Open mrrockka opened 4 weeks ago

mrrockka commented 4 weeks ago

Description:

When service checks user, it filters user by chat. But in this case user with same data but different id will be created and associated with new chat id. We need to use existing user id in case same user plays in different chats

Actual:

When game creation/entry command posted And user with nickname exists in different chat Then user with nickname created for this chat

Expected:

When game creation/entry command posted And user with nickname exists in different chat Then existing user used for new chat And existing id associated with new chat