FsUno.Prod
FsUno.Prod copied to clipboard
Game cannot be played with different Game Ids because it always loads the first played game
You have to provide an override for ToString on the GameId single case discriminated union, because otherwise the streamId is always formatted like Game-FsUno.Domain.Game+GameId.
type GameId = GameId of int with
override self.ToString() =
let (GameId id) = self in id.ToString()
Right ! I change this soon, thx. Didn't notice this one :grin:
Mangled in #8 (Yes, shoulda branched but git book isnt top of stack right now :( ) is a fix for this addressing it instead by destructuring at the point of use as we don't want to encourage usage of ToString (See also my related concerns in #9)