Skip to content

Change protection to JSON only so as to support AoT/trimming and use of serialization options from MVC #106

Change protection to JSON only so as to support AoT/trimming and use of serialization options from MVC

Change protection to JSON only so as to support AoT/trimming and use of serialization options from MVC #106

Triggered via pull request May 5, 2024 11:29
Status Success
Total duration 2m 32s
Artifacts 1

build.yml

on: pull_request
Publish (Azure Artifacts)
0s
Publish (Azure Artifacts)
Publish (GitHub Packages)
0s
Publish (GitHub Packages)
Publish (Nuget.org)
0s
Publish (Nuget.org)
Fit to window
Zoom out
Zoom in

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/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.

Artifacts

Produced during runtime
Name Size
drop Expired
8.27 MB