MA0122 - Parameters with [SupplyParameterFromQuery] attributes are only valid in routable components (@page)
Component parameters can only receive query parameter values in routable components with an @page
directive.
@code {
// non-compliant as there is no @page
[Parameter, SupplyParameterFromQuery]
public int Value { get; set; }
}
@page "/"
@code {
// ok
[Parameter, SupplyParameterFromQuery]
public int Value { get; set; }
}