Skip to content

Add an option to resolve store when handling a command #29

Add an option to resolve store when handling a command

Add an option to resolve store when handling a command #29

Triggered via pull request August 22, 2023 13:27
Status Failure
Total duration 9m 15s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 98 warnings, and 688 notices
test
Process completed with exit code 1.
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L10
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.RoomId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L11
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckIn' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L12
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckOut' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L14
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.GuestId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L24
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingOutstandingAmountChanged.OutstandingAmount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L27
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingFullyPaid.PaidAt' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L30
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingOverpaid.OverpaidAmount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L10
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.RoomId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L11
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckIn' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L12
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.CheckOut' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L14
Positional property 'Eventuous.Sut.Domain.BookingEvents.RoomBooked.GuestId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L24
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingOutstandingAmountChanged.OutstandingAmount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L27
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingFullyPaid.PaidAt' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Domain/BookingEvents.cs#L30
Positional property 'Eventuous.Sut.Domain.BookingEvents.BookingOverpaid.OverpaidAmount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Redis/src/Eventuous.Redis/Subscriptions/RedisStreamSubscription.cs#L53
Positional property 'Eventuous.Redis.Subscriptions.RedisStreamSubscriptionOptions.Stream' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Redis/src/Eventuous.Redis/Subscriptions/RedisStreamSubscription.cs#L53
Positional property 'Eventuous.Redis.Subscriptions.RedisStreamSubscriptionOptions.Stream' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.MessageId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.MessageType' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.JsonData' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.JsonMetadata' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.MessageId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.MessageType' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.JsonData' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L158
Positional property 'Eventuous.Postgresql.NewPersistedEvent.JsonMetadata' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Gateway/src/Eventuous.Gateway/GatewayMessage.cs#L6
Positional property 'Eventuous.Gateway.GatewayMessage.TargetStream' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Gateway/src/Eventuous.Gateway/GatewayMessage.cs#L6
Positional property 'Eventuous.Gateway.GatewayMessage.TargetStream' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Subs/TestEventHandler.cs#L10
Positional property 'Eventuous.Sut.Subs.TestEvent.Data' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Subs/TestEventHandler.cs#L10
Positional property 'Eventuous.Sut.Subs.TestEvent.Number' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Subs/TestEventHandler.cs#L10
Positional property 'Eventuous.Sut.Subs.TestEvent.Data' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): test/Eventuous.Sut.Subs/TestEventHandler.cs#L10
Positional property 'Eventuous.Sut.Subs.TestEvent.Number' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Core/src/Eventuous.Application/FunctionalService/FuncHandlersMap.cs#L14
Positional property 'Eventuous.RegisteredFuncHandler.ResolveReaderFromCommand' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Core/src/Eventuous.Application/FunctionalService/FuncHandlersMap.cs#L15
Positional property 'Eventuous.RegisteredFuncHandler.ResolveWriterFromCommand' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Core/src/Eventuous.Application/FunctionalService/FuncHandlersMap.cs#L14
Positional property 'Eventuous.RegisteredFuncHandler.ResolveReaderFromCommand' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Core/src/Eventuous.Application/FunctionalService/FuncHandlersMap.cs#L15
Positional property 'Eventuous.RegisteredFuncHandler.ResolveWriterFromCommand' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.BookingId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.RoomId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.CheckIn' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.CheckOut' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.Price' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.BookingId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.RoomId' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.CheckIn' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.CheckOut' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/Extensions/test/Eventuous.Tests.AspNetCore.Web/HttpCommandTests.cs#L49
Positional property 'Eventuous.Tests.AspNetCore.Web.BookAnotherRoom.Price' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/SqlServer/src/Eventuous.SqlServer/SqlServerStore.cs#L15
Positional property 'Eventuous.SqlServer.SqlServerStoreOptions.Schema' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (non-private accessibility): src/SqlServer/src/Eventuous.SqlServer/SqlServerStore.cs#L15
Positional property 'Eventuous.SqlServer.SqlServerStoreOptions.Schema' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): test/Eventuous.Sut.Domain/BookingState.cs#L46
Positional property 'Eventuous.Sut.Domain.BookingState.Payment.Amount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): test/Eventuous.Sut.Domain/BookingState.cs#L46
Positional property 'Eventuous.Sut.Domain.BookingState.Payment.Amount' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): src/EventStore/test/Eventuous.Tests.EventStore/SubscriptionIgnoredMessagesTests.cs#L65
Positional property 'Eventuous.Tests.EventStore.SubscriptionIgnoredMessagesTests.UnknownEvent.Data' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): src/EventStore/test/Eventuous.Tests.EventStore/SubscriptionIgnoredMessagesTests.cs#L65
Positional property 'Eventuous.Tests.EventStore.SubscriptionIgnoredMessagesTests.UnknownEvent.Number' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): src/EventStore/test/Eventuous.Tests.EventStore/SubscriptionIgnoredMessagesTests.cs#L65
Positional property 'Eventuous.Tests.EventStore.SubscriptionIgnoredMessagesTests.UnknownEvent.Data' is never accessed (except in implicit Equals/ToString implementations)
Non-accessed positional property (private accessibility): src/EventStore/test/Eventuous.Tests.EventStore/SubscriptionIgnoredMessagesTests.cs#L65
Positional property 'Eventuous.Tests.EventStore.SubscriptionIgnoredMessagesTests.UnknownEvent.Number' is never accessed (except in implicit Equals/ToString implementations)
Unused local variable: src/Benchmarks/Benchmarks/TypeMapBenchmark.cs#L48
Local variable 'type' is never used
Non-accessed field (private accessibility): test/Eventuous.TestHelpers/Fakes/InMemoryEventStore.cs#L98
Field '_name' is assigned but its value is never used
Non-accessed field (private accessibility): test/Eventuous.TestHelpers/Fakes/InMemoryEventStore.cs#L98
Field '_name' is assigned but its value is never used
Non-accessed field (private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L37
Field '_schemaNema' is assigned but its value is never used
Non-accessed field (private accessibility): src/Gateway/test/Eventuous.Tests.Gateway/RegistrationTests.cs#L17
Field '_provider' is assigned but its value is never used
Non-accessed field (private accessibility): src/Gateway/test/Eventuous.Tests.Gateway/RegistrationTests.cs#L17
Field '_provider' is assigned but its value is never used
Non-accessed field (private accessibility): src/Postgres/src/Eventuous.Postgresql/PostgresStore.cs#L37
Field '_schemaNema' is assigned but its value is never used
Non-accessed field (private accessibility): src/Experimental/src/Eventuous.Spyglass/InsidePeek.cs#L13
Field '_log' is assigned but its value is never used
Non-accessed field (private accessibility): src/Experimental/src/Eventuous.Spyglass/InsidePeek.cs#L13
Field '_log' is assigned but its value is never used
Member hides static member from outer class: src/Core/src/Eventuous.Diagnostics/TelemetryTags.cs#L73
Constant 'string Message' hides class from outer class
Member hides static member from outer class: src/Core/src/Eventuous.Diagnostics/TelemetryTags.cs#L73
Constant 'string Message' hides class from outer class
Tail recursive call can be replaced with loop: test/Eventuous.TestHelpers/TestHelper.cs#L25
Tail recursive call can be replaced with loop
Tail recursive call can be replaced with loop: test/Eventuous.TestHelpers/TestHelper.cs#L25
Tail recursive call can be replaced with loop
Type is never used (non-private accessibility): src/Core/src/Eventuous.Domain/State.cs#L7
Record 'AggregateState' is never used (except inside its declaration)
Type is never used (non-private accessibility): src/Core/src/Eventuous.Domain/State.cs#L7
Record 'AggregateState' is never used (except inside its declaration)
Type is never used (non-private accessibility): src/Experimental/src/Eventuous.ElasticSearch/Producers/ElasticProducer.cs#L10
Class 'ElasticProducer' is never used (except inside its declaration)
Type is never used (non-private accessibility): src/Experimental/src/Eventuous.ElasticSearch/Producers/ElasticProducer.cs#L10
Class 'ElasticProducer' is never used (except inside its declaration)
Unused parameter (non-private accessibility): src/Core/src/Eventuous.Subscriptions/EventSubscription.cs#L68
Parameter 'cancellationToken' is used neither in this nor in overriding methods
Unused parameter (non-private accessibility): src/Core/src/Eventuous.Subscriptions/EventSubscription.cs#L68
Parameter 'cancellationToken' is used neither in this nor in overriding methods
Unused parameter (non-private accessibility): src/Redis/src/Eventuous.Redis/Subscriptions/RedisSubscriptionBase.cs#L110
Parameter 'cancellationToken' is used neither in this nor in overriding methods
Unused parameter (non-private accessibility): src/Redis/src/Eventuous.Redis/Subscriptions/RedisSubscriptionBase.cs#L110
Parameter 'cancellationToken' is used neither in this nor in overriding methods
Unused parameter (non-private accessibility): src/Redis/src/Eventuous.Redis/RedisStore.cs#L94
Parameter 'cancellationToken' is never used
Unused parameter (non-private accessibility): src/Redis/src/Eventuous.Redis/RedisStore.cs#L94
Parameter 'cancellationToken' is never used
Some values of the enum are not processed inside 'switch' statement: src/Core/src/Eventuous.Subscriptions/Consumers/DefaultConsumer.cs#L31
Some values of the enum are not processed inside switch: Pending, Handled, default
Some values of the enum are not processed inside 'switch' statement: src/Core/src/Eventuous.Subscriptions/Consumers/DefaultConsumer.cs#L31
Some values of the enum are not processed inside switch: Pending, Handled, default