FsUno.Prod
FsUno.Prod copied to clipboard
A more advanced version of FsUno closer to what would be put in production.
An unhandled exception of type 'System.AggregateException' occurred in FSharp.Core.dll File EventStore.fs line# 58 gives the above error let subscribe (projection: Event -> unit) (getStore: Async) = async { let! store...
I want to build a service that has mutiple aggregates and build appropriate routing and/or splitting of processing into approriately separate agents using NES. While I could use the NES...
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`. ``` fsharp type GameId = GameId...
As covered in various conversations, a lot about `Digit`:- ``` [] type Digit = val value: int new(value) = if value < 0 || value > 9 then invalidArg "value"...
As discussed (on twitter!), pushed Event records out to Deck (#7) - inlined `PlayerPlayedWrong` as `PlayerPlayedAtWrongTurnEvent` and `PlayerPlayedWrongCardEvent` to in anticipation of desire to use Event type name to uniquely...
If you refer to https://github.com/bartelink/FunDomain/blob/master/Samples/FunUno/UnoGame.fs#L4-L19, you'll see I took the FsUno (not .Prod) codebase and refactored the Event to read as follows: ``` module Events = type Color = |...