Make ApiAuthenticationMiddleware use new json #5889
Annotations
7 warnings
ArchiSteamFarm/Helpers/Json/JsonUtilities.cs#L34
Using member 'System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.DefaultJsonTypeInfoResolver()' 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.
|
ArchiSteamFarm/IPC/WebUtilities.cs#L39
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
|
ArchiSteamFarm/IPC/Startup.cs#L115
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs#L87
Using member 'Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync<TValue>(HttpResponse, TValue, JsonSerializerOptions, CancellationToken)' 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.
|
ArchiSteamFarm/IPC/Controllers/Api/TypeController.cs#L63
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Type.GetFields(BindingFlags)'. The return value of method 'ArchiSteamFarm.IPC.WebUtilities.ParseType(String)' 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.
|
ArchiSteamFarm/IPC/Controllers/Api/TypeController.cs#L75
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The return value of method 'ArchiSteamFarm.IPC.WebUtilities.ParseType(String)' 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.
|
ArchiSteamFarm/IPC/Controllers/Api/StructureController.cs#L54
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Activator.CreateInstance(Type, Boolean)'. The return value of method 'ArchiSteamFarm.IPC.WebUtilities.ParseType(String)' 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.
|
The logs for this run have expired and are no longer available.
Loading