Its.Cqrs icon indicating copy to clipboard operation
Its.Cqrs copied to clipboard

Merge / reconcile Projector.Create and Projector.CreateFor.

Open jonsequitur opened this issue 10 years ago • 0 comments

Projector.Create<T> returns an anonymous implementation of IUpdateProjectionWhen<T> where T is constrained to be an IEvent.

Projector.CreateFor<T> returns a duck-typed projector, so there is no constraint

The distinction is trivia and not intuitive. Can these be merged into a single implementation?

jonsequitur avatar Jan 11 '15 04:01 jonsequitur