-
-
Notifications
You must be signed in to change notification settings - Fork 94
Type mapping source gen #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Code Review Agent Run #88a79eActionable Suggestions - 0Additional Suggestions - 20
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Test Results 55 files 55 suites 2h 36m 28s ⏱️ For more details on these failures, see this check. Results for commit 322429f. ♻️ This comment has been updated with latest results. |
Changelist by BitoThis pull request implements the following key changes.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bito is crafting review details...
src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/Services.cs
Show resolved
Hide resolved
src/Core/src/Eventuous.Subscriptions/Consumers/MessageConsumeContextConverter.cs
Show resolved
Hide resolved
…sproj Co-authored-by: bito-code-review[bot] <188872107+bito-code-review[bot]@users.noreply.github.com>
…into type-mappings-source-generator
Deploying eventuous-main with
|
| Latest commit: |
d680a5e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0bbf6431.eventuous-main.pages.dev |
| Branch Preview URL: | https://type-mappings-source-generat.eventuous-main.pages.dev |
|
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR). Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review Agent Run #43f1f9
Actionable Suggestions - 1
-
src/Core/src/Eventuous.Shared.Generators/TypeMappingsGenerator.cs - 1
- Missing attribute pattern check · Line 87-87
Review Details
-
Files reviewed - 109 · Commit Range:
53cc34a..3a520a9- Directory.Packages.props
- Eventuous.slnx
- samples/esdb/Bookings.Domain/Bookings.Domain.csproj
- samples/esdb/Bookings.Domain/DomainModule.cs
- samples/esdb/Bookings.Payments/Bookings.Payments.csproj
- samples/esdb/Bookings.Payments/Program.cs
- samples/esdb/Bookings/Bookings.csproj
- samples/esdb/Bookings/Program.cs
- src/Core/Eventuous.Core.slnf
- src/Core/src/Eventuous.Application/AggregateService/CommandHandlerBuilder.cs
- src/Core/src/Eventuous.Application/AggregateService/CommandHandlersMap.cs
- src/Core/src/Eventuous.Application/AggregateService/CommandService.cs
- src/Core/src/Eventuous.Application/Diagnostics/TracedCommandService.cs
- src/Core/src/Eventuous.Application/Eventuous.Application.csproj
- src/Core/src/Eventuous.Application/FunctionalService/CommandService.cs
- src/Core/src/Eventuous.Application/FunctionalService/HandlersMap.cs
- src/Core/src/Eventuous.Application/ICommandService.cs
- src/Core/src/Eventuous.Application/Persistence/WriterExtensions.cs
- src/Core/src/Eventuous.Application/ThrowingCommandService.cs
- src/Core/src/Eventuous.Diagnostics/Eventuous.Diagnostics.csproj
- src/Core/src/Eventuous.Diagnostics/Metrics/Measure.cs
- src/Core/src/Eventuous.Domain/Eventuous.Domain.csproj
- src/Core/src/Eventuous.Persistence/AggregateFactory.cs
- src/Core/src/Eventuous.Persistence/AggregateStore/AggregatePersistenceExtensions.cs
- src/Core/src/Eventuous.Persistence/AggregateStore/AggregateStore.cs
- src/Core/src/Eventuous.Persistence/AggregateStore/AggregateStoreExtensions.cs
- src/Core/src/Eventuous.Persistence/AggregateStore/AggregateStoreWithArchive.cs
- src/Core/src/Eventuous.Persistence/AggregateStore/IAggregateStore.cs
- src/Core/src/Eventuous.Persistence/Constants.cs
- src/Core/src/Eventuous.Persistence/Diagnostics/Tracing/TracedEventReader.cs
- src/Core/src/Eventuous.Persistence/Diagnostics/Tracing/TracedEventStore.cs
- src/Core/src/Eventuous.Persistence/Diagnostics/Tracing/TracedEventWriter.cs
- src/Core/src/Eventuous.Persistence/EventStore/IEventReader.cs
- src/Core/src/Eventuous.Persistence/EventStore/IEventWriter.cs
- src/Core/src/Eventuous.Persistence/EventStore/StoreFunctions.cs
- src/Core/src/Eventuous.Persistence/EventStore/TieredEventReader.cs
- src/Core/src/Eventuous.Persistence/EventStore/TieredEventStore.cs
- src/Core/src/Eventuous.Persistence/Eventuous.Persistence.csproj
- src/Core/src/Eventuous.Persistence/StateStore/IStateStore.cs
- src/Core/src/Eventuous.Persistence/StateStore/StateStore.cs
- src/Core/src/Eventuous.Persistence/StateStore/StateStoreFunctions.cs
- src/Core/src/Eventuous.Producers/BaseProducer.cs
- src/Core/src/Eventuous.Producers/Constants.cs
- src/Core/src/Eventuous.Producers/Eventuous.Producers.csproj
- src/Core/src/Eventuous.Producers/IProducer.cs
- src/Core/src/Eventuous.Producers/ProducerExtensions.cs
- src/Core/src/Eventuous.Producers/RegistrationExtensions.cs
- src/Core/src/Eventuous.Serialization/DefaultEventSerializer.cs
- src/Core/src/Eventuous.Serialization/DefaultMetadataSerializer.cs
- src/Core/src/Eventuous.Serialization/DefaultStaticEventSerializer.cs
- src/Core/src/Eventuous.Serialization/Eventuous.Serialization.csproj
- src/Core/src/Eventuous.Serialization/IEventSerializer.cs
- src/Core/src/Eventuous.Shared.Analyzers/EventUsageAnalyzer.cs
- src/Core/src/Eventuous.Shared.Analyzers/Eventuous.Shared.Analyzers.csproj
- src/Core/src/Eventuous.Shared.Generators/Eventuous.Shared.Generators.csproj
- src/Core/src/Eventuous.Shared.Generators/TypeMappingsGenerator.cs
- src/Core/src/Eventuous.Shared/Eventuous.Shared.csproj
- src/Core/src/Eventuous.Shared/TypeMap/TypeMapper.cs
- src/Core/src/Eventuous.Subscriptions.Generators/ConsumeContextConverterGenerator.cs
- src/Core/src/Eventuous.Subscriptions.Generators/Eventuous.Subscriptions.Generators.csproj
- src/Core/src/Eventuous.Subscriptions/Checkpoints/CheckpointCommitHandler.cs
- src/Core/src/Eventuous.Subscriptions/Constants.cs
- src/Core/src/Eventuous.Subscriptions/Consumers/MessageConsumeContextConverter.cs
- src/Core/src/Eventuous.Subscriptions/EventSubscription.cs
- src/Core/src/Eventuous.Subscriptions/EventSubscriptionWithCheckpoint.cs
- src/Core/src/Eventuous.Subscriptions/Eventuous.Subscriptions.csproj
- src/Core/src/Eventuous.Subscriptions/IMessageSubscription.cs
- src/Core/src/Eventuous.Subscriptions/Registrations/NamedRegistrations.cs
- src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilder.cs
- src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionBuilderExtensions.cs
- src/Core/src/Eventuous.Subscriptions/Registrations/SubscriptionRegistrationExtensions.cs
- src/Core/src/Eventuous.Subscriptions/SubscriptionHostedService.cs
- src/Core/test/Eventuous.Tests.Application/Eventuous.Tests.Application.csproj
- src/Core/test/Eventuous.Tests.Shared.Analyzers/Analyzed.cs
- src/Core/test/Eventuous.Tests.Shared.Analyzers/Analyzer_Ev001_Tests.cs
- src/Core/test/Eventuous.Tests.Shared.Analyzers/Eventuous.Tests.Shared.Analyzers.csproj
- src/Core/test/Eventuous.Tests/AggregateWithId/OperateOnAggregateWithId.cs
- src/Core/test/Eventuous.Tests/Eventuous.Tests.csproj
- src/Core/test/Eventuous.Tests/ForgotToSetId.cs
- src/Core/test/Eventuous.Tests/TypeRegistrationTests.cs
- src/Diagnostics/src/Eventuous.Diagnostics.Logging/Eventuous.Diagnostics.Logging.csproj
- src/Diagnostics/src/Eventuous.Diagnostics.OpenTelemetry/Eventuous.Diagnostics.OpenTelemetry.csproj
- src/Diagnostics/src/Eventuous.Diagnostics.OpenTelemetry/MeterProviderBuilderExtensions.cs
- src/EventStore/Eventuous.EventStore.slnf
- src/EventStore/src/Eventuous.EventStore/Constants.cs
- src/EventStore/src/Eventuous.EventStore/EsdbEventStore.cs
- src/EventStore/src/Eventuous.EventStore/Eventuous.EventStore.csproj
- src/EventStore/src/Eventuous.EventStore/Producers/EventStoreProducer.cs
- src/EventStore/src/Eventuous.EventStore/Subscriptions/AllStreamSubscription.cs
- src/EventStore/src/Eventuous.EventStore/Subscriptions/PersistentSubscriptionBase.cs
- src/EventStore/src/Eventuous.EventStore/Subscriptions/StreamSubscription.cs
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Eventuous.Extensions.DependencyInjection.csproj
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/AggregateFactory.cs
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/AggregateStore.cs
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/Services.cs
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/StoreWithArchive.cs
- src/Extensions/src/Eventuous.Extensions.DependencyInjection/Registrations/Stores.cs
- src/Extensions/src/Eventuous.Extensions.Logging/Eventuous.Extensions.Logging.csproj
- src/Extensions/src/Eventuous.Subscriptions.Polly/Eventuous.Subscriptions.Polly.csproj
- src/Extensions/src/Eventuous.Subscriptions.Polly/SubscriptionBuilderExtensions.cs
- src/Mongo/src/Eventuous.Projections.MongoDB/Eventuous.Projections.MongoDB.csproj
- src/RabbitMq/src/Eventuous.RabbitMq/Constants.cs
- src/RabbitMq/src/Eventuous.RabbitMq/Eventuous.RabbitMq.csproj
- src/RabbitMq/src/Eventuous.RabbitMq/Producers/RabbitMqProducer.cs
- src/RabbitMq/src/Eventuous.RabbitMq/Subscriptions/RabbitMqSubscription.cs
- src/Relational/src/Eventuous.Sql.Base/Constants.cs
- src/Relational/src/Eventuous.Sql.Base/Eventuous.Sql.Base.csproj
- src/Relational/src/Eventuous.Sql.Base/SqlEventStoreBase.cs
- src/Relational/src/Eventuous.Sql.Base/Subscriptions/SqlSubscriptionBase.cs
-
Files skipped - 2
- src/Core/src/Eventuous.Shared.Analyzers/AnalyzerReleases.Shipped.md - Reason: Filter setting
- src/Core/src/Eventuous.Shared.Analyzers/AnalyzerReleases.Unshipped.md - Reason: Filter setting
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers a full AI review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent You can customize the agent settings here or contact your Bito workspace admin at alexey@ubiquitous.no.
Documentation & Help
Code Review Agent Run #911142Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
* Added type mappings source generator * Added analyzer for unmapped types Co-authored-by: bito-code-review[bot] <188872107+bito-code-review[bot]@users.noreply.github.com>
Also add AOT compatibility attributes
Summary by Bito
This PR introduces extensive AOT compatibility improvements across multiple components, including refining the type mapping source generator by removing unused attributes and updating property definitions. The changes replace 'required' modifiers with null-forgiving initializations, add dynamic code attributes, and update project files with IsAotCompatible properties to ensure proper operation in AOT environments while reducing reflection usage.