public void blow_on_soft_deleted_aggregates() { var projection = new AllGood(); var options = new StoreOptions(); options.Schema.For <MyAggregate>().SoftDeleted(); var errors = projection.ValidateConfiguration(options).ToArray(); errors.Single().ShouldBe("AggregateProjection cannot support aggregates that are soft-deleted"); }
public void happy_path_validation_for_aggregation() { var projection = new AllGood(); projection.CompileAndAssertValidity(); }