FsUno.Prod icon indicating copy to clipboard operation
FsUno.Prod copied to clipboard

Game cannot be played with different Game Ids because it always loads the first played game

Open toburger opened this issue 9 years ago • 2 comments

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()

toburger avatar Aug 13 '14 08:08 toburger