dotnet / dotnet/aspnetcore

BL0004 ("Component parameter should be public") error should also accept internal

Open
#37,840 4 comments 0 reactions 0 assignees View on GitHub
area-blazor enhancement Pillar: Technical Debt
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

There are legit reasons to want to have `internal`-typed domain objects and to use them as component parameters. I'm not aware of any good reason for the Razor compiler to complain about this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.