Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Check existing players via queryBus #76

Open
jangalinski opened this issue Apr 10, 2018 · 0 comments
Open

Check existing players via queryBus #76

jangalinski opened this issue Apr 10, 2018 · 0 comments

Comments

@jangalinski
Copy link
Member

Using a "suppose to fail" command (CheckPlayer) and then create a player on failure seems smelly. So We should query via queryGateway if a player exists and decide what to do next depennding on the result.

Requires:

  • Init Players on startup has to be done AFTER events replayed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant