fix: repopulate natural-key lookup table on projection rebuild (#259)#261
Merged
Annotations
10 warnings
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Events/Daemon/PolecatHighWaterDetector.cs#L287
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Events/Daemon/PolecatProjectionBatch.cs#L329
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Events/Daemon/PolecatProjectionBatch.cs#L308
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Internal/SecondaryStoreProxyFactory.cs#L78
Using member 'Polecat.DocumentStore.ResolveEventClrType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Walks AppDomain.GetAssemblies() + Assembly.GetTypes() to resolve eventTypeName → CLR Type. The trimmer cannot reason about which event types survive; AOT-publishing apps should register event types explicitly via EventGraph.AddEventType or use the source-generated event registry.
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Internal/SecondaryStoreProxyFactory.cs#L78
Using member 'Polecat.DocumentStore.ToDomainEvent(EventRecord)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Walks loaded assemblies to resolve eventTypeName → CLR Type and routes through ISerializer.FromJson which is annotated
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/Internal/SecondaryStoreProxyFactory.cs#L78
Using member 'Polecat.DocumentStore.RunProjectionForReferenceTypeAsync<TState>(IReadOnlyList<EventRecord>, TState, CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Routes projection events through the aggregator graph + ToDomainEvent reflective deserialization. TState's public members must survive trimming for the aggregator to access them.
|
|
Build (Polecat.AotSmoke — fails on IL2026/IL2046/IL2055/IL2065/IL2067/IL2070/IL2072/IL2075/IL2090/IL2091/IL2111/IL3050/IL3051):
src/Polecat/PolecatStoreServiceCollectionExtensions.cs#L75
Using member 'Polecat.Internal.SecondaryStoreProxyFactory.GetOrCreate(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Generates a runtime subclass per secondary-store interface via System.Reflection.Emit.
|
|
|
|
|
|
|
background
wait
wait-all
cancel
parallel
Loading