Skip to content

Instantly share code, notes, and snippets.

@tjaskula
Last active February 12, 2020 16:11
Show Gist options
  • Save tjaskula/7c073c0a83ee2db525e8e8982dd80cf3 to your computer and use it in GitHub Desktop.
Save tjaskula/7c073c0a83ee2db525e8e8982dd80cf3 to your computer and use it in GitHub Desktop.
StrangeInterfaceNaming discovered in the code

IKnowWhenAnAggregateHasBeenCreatedFromALegacyIdentifier // just a fucking cache
IKnowAllAggregatesIds // Wow, this could have been in the repository
IProvideUniqueIdentifier // id generator,

internal class SystematicNothingHasBeenCreatedYetAggregateCreationAuditTrail : IKnowWhenAnAggregateHasBeenCreatedFromALegacyIdentifier

IAmAReadProjector

IDealWithCompartiment, IDealWithLightTradeEntite

ICanBeVictimOfConcurrency

ICanUnsubscribe

ICanResubscribeForAllProjections

IReceiveAndSendEvents

ISendCommands

IRegisterHandlersForCommands

IRegisterHandlersForEvents

IPublishEvents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment