-
Notifications
You must be signed in to change notification settings - Fork 12
Consider removing IApplicationEnvironment \ IRuntimeEnvironment #36
Comments
Related to #34 |
Is this also going into RC2? |
Is the goal here to remove the interfaces, or the implementations as well? We are definitely using the implementations in a number of places (and |
Yeah, I saw the PR and it looked OK. I was just concerned there was going to be a part 2 that removed the implementations :P |
The hope was to move the RID inference code into Cli and switch to using |
@pranavkm any further work for this? |
Needs to be checked in. Waiting for the new CLI to do this. |
Ah ok! |
Fixed in 95d352a |
Done/Closed/Open? |
Can anyone explain the logic behind removing these interfaces? This has just made testing harder for no logical reason that I can see. |
@DavidArno - we no longer use these interfaces in our codebases. In the past, DNX owned creating \ populating \ injecting these interfaces. However since the move to CLI, these are primarily wrappers for We do have an |
IHostingEnvironment
overIApplicationEnvironment
.RuntimeInformation
type that has most of the API thatIRuntimeEnvironment
supports.Given these, we could remove these types from our codebase. We can follow up with a change to the CLI so that it removes one arc of the cyclic dependency that is currently present between the two.
cc @davidfowl \ @Eilon
The text was updated successfully, but these errors were encountered: