Skip to content

Conversation

linkdotnet
Copy link
Collaborator

@linkdotnet linkdotnet commented Mar 5, 2023

Description

The motivation for this was pretty simple: IRenderedComponentBase and IRenderedComponent do share 100% overlap in their public API. So I merged them both together and remove the Base suffix in bunit.core. I don't think Base is a good name for an interface anyway. We are talking about operating contracts and not abstract classes.

Anyway, this is the first PR that aims to unify some of our core types. I will create an additional issue for that so we can discuss our ideas and design further.

I do believe (however we decide which abstracts we need) that it makes sense to merge those two types - as they were virtually the same until now.

PS: We should merge main into v2 to get rid of those pesty new Analyzer issues you already fixed on main.

@egil
Copy link
Member

egil commented Mar 6, 2023

Let's discuss first in #1015 before moving forward here.

@linkdotnet
Copy link
Collaborator Author

In light of the recent development (merge core/web) I still think this PR makes sense.
Sure there will be more to come once we merged the assemblies - but the PR on its own still has is legitimacy.

@linkdotnet linkdotnet force-pushed the remove-abstraction branch from 97e3083 to 093a79f Compare May 5, 2023 07:31
@linkdotnet
Copy link
Collaborator Author

linkdotnet commented May 5, 2023

On second thought - let's tackle that once it's merged to reduce waste/noise.

@linkdotnet linkdotnet closed this May 5, 2023
@linkdotnet linkdotnet deleted the remove-abstraction branch May 6, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants