-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Remove pubternal types from Kestrel #8306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just Kestrel? I would expect this to extend to most of AspNetCore. |
I mean sure, but let's start somewhere. The issue for MVC was individualized. |
With the targetting pack work, I think this is more critical now. Making breaking changes will be harder in these technically public types. @Eilon @DamianEdwards @davidfowl thoughts? |
@jkotalik Think bigger 😁 |
Definitely not just Kestrel, though I've heard through the grapevine that EF actually likes pubternal. |
EF Core is sticking with pubternal. But MVC removed a lot of pubternal (either make true |
#8308 if there's interest in doing for everything that ships in the targeting pack |
Thanks @pranavkm <3. |
You'll break the TE Platform tests though as that uses pubternal apis /cc @davidfowl |
If the used apis were made public they'd have to switch from |
TE Platform tests definitely shouldn't be using pubternal types 😭 |
May be some follow up to decide if some types should be public. |
MVC recently made all pubinternal types in MVC internal via #4932. As a reminder,
pubinternal
types are types that are declared as public but put in an .Internal namespace.In ASP.NET Core 3.0, we should do the same in Kestrel, specifically for the Microsoft.AspNetCore.Server.Kestrel.Core.Internal namespace. Reference assemblies will also show any pubinternal changes.
cc @muratg @halter73 @Tratcher
The text was updated successfully, but these errors were encountered: