You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Components/Components/src/SupplyParameterFromPersistentComponentStateProviderServiceCollectionExtensions.cs
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,7 @@ public static IServiceCollection AddSupplyValueFromPersistentComponentStateProvi
45
45
// We look for the assembly in the current list of loaded assemblies.
46
46
// We look for the type inside the assembly.
47
47
// We resolve the service from the DI container.
48
-
// TODO: We can support registering for a specific render mode at this level (that way no info gets sent to the client accidentally 4 example).
49
-
// Even as far as defaulting to Server (to avoid disclosing anything confidential to the client, even though is the Developer responsibility).
50
-
// We can choose to fail when the service is not registered on DI.
51
48
// We loop through the properties in the type and try to restore the properties that have SupplyParameterFromPersistentComponentState on them.
@@ -31,7 +33,7 @@ public bool CanSupplyValue(in CascadingParameterInfo parameterInfo)
31
33
"IL2072:Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The return value of the source method does not have matching annotations.",
32
34
Justification="JSON serialization and deserialization might require types that cannot be statically analyzed.")]
0 commit comments