Annotate Patching subsystem for AOT (slice 5) #79
Annotations
10 warnings
|
Build:
src/Polecat/PolecatStoreServiceCollectionExtensions.cs#L50
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Lazy<T>'. The generic parameter 'T' of 'Polecat.PolecatStoreServiceCollectionExtensions.AddPolecatStore<T>(IServiceCollection, Func<IServiceProvider, StoreOptions>)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build:
src/Polecat/PolecatStoreServiceCollectionExtensions.cs#L50
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Lazy<T>'. The generic parameter 'T' of 'Polecat.PolecatStoreServiceCollectionExtensions.AddPolecatStore<T>(IServiceCollection, Func<IServiceProvider, StoreOptions>)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build:
src/Polecat/Projections/PolecatProjectionStorage.cs#L167
Using member 'Polecat.Serialization.ISerializer.FromJson<T>(String)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Default ISerializer uses STJ reflection which requires runtime code generation.
|
|
Build:
src/Polecat/Projections/PolecatProjectionStorage.cs#L167
Using member 'Polecat.Serialization.ISerializer.FromJson<T>(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Default ISerializer uses STJ reflection; AOT consumers should supply a source-generator-backed ISerializer impl.
|
|
Build:
src/Polecat/Events/Daemon/PolecatEventLoader.cs#L103
Using member 'Polecat.Serialization.ISerializer.FromJson(Type, String)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Default ISerializer uses STJ reflection which requires runtime code generation.
|
|
Build:
src/Polecat/Events/Daemon/PolecatEventLoader.cs#L103
Using member 'Polecat.Serialization.ISerializer.FromJson(Type, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Default ISerializer uses STJ reflection; AOT consumers should supply a source-generator-backed ISerializer impl.
|
|
Build:
src/Polecat/AdvancedOperations.cs#L204
Using member 'Polecat.Serialization.ISerializer.ToJson(Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Default ISerializer uses STJ reflection which requires runtime code generation.
|
|
Build:
src/Polecat/AdvancedOperations.cs#L204
Using member 'Polecat.Serialization.ISerializer.ToJson(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Default ISerializer uses STJ reflection over document.GetType()'s properties; AOT consumers should supply a source-generator-backed ISerializer impl.
|
|
Build:
src/Polecat/AdvancedOperations.cs#L100
Using member 'Polecat.Serialization.ISerializer.ToJson(Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Default ISerializer uses STJ reflection which requires runtime code generation.
|
|
Build:
src/Polecat/AdvancedOperations.cs#L100
Using member 'Polecat.Serialization.ISerializer.ToJson(Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Default ISerializer uses STJ reflection over document.GetType()'s properties; AOT consumers should supply a source-generator-backed ISerializer impl.
|
background
wait
wait-all
cancel
Loading