Change protection to JSON only so as to support AoT/trimming and use of serialization options from MVC #107
build.yml
on: pull_request
Build
2m 21s
Publish (Azure Artifacts)
0s
Publish (GitHub Packages)
0s
Publish (Nuget.org)
0s
Annotations
10 warnings
Build:
src/Tingle.AspNetCore.Tokens/Mvc/ContinuationTokenResult.cs#L37
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.Protect(T, DateTimeOffset, 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:
src/Tingle.AspNetCore.Tokens/Mvc/ContinuationTokenResult.cs#L41
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.Protect(T, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L53
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, out DateTimeOffset, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L61
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, 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:
src/Tingle.AspNetCore.Tokens/Mvc/ContinuationTokenResult.cs#L37
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.Protect(T, DateTimeOffset, 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:
src/Tingle.AspNetCore.Tokens/Mvc/ContinuationTokenResult.cs#L41
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.Protect(T, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L53
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, out DateTimeOffset, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L61
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L53
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, out DateTimeOffset, 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:
src/Tingle.AspNetCore.Tokens/Binders/ContinuationTokenModelBinder.cs#L61
Using member 'Tingle.AspNetCore.Tokens.Protection.ITokenProtector<T>.UnProtect(String, 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.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
drop
Expired
|
8.27 MB |
|