Conversation
|
Will fix pipeline once I got feedback whether this is wanted or not |
|
Sorry, but we deliberately decided not to do that. It interferes with git blame and git bisect, making it harder to track down regressions. We agreed that this kind of change should only be applied to new files, simple files with minimal logic, or very stable and tested part of the code. For the rest, Mud isn’t stable enough to justify doing this refactor in bulk. |
|
@ScarletKuro Ah okay, just thought it would be better in bulk as it makes the diffs very hard to read when you change the namespace to the file scope variant. |
|
Also. forgot to mention that it instantly makes other PRs to have conflicts, and it's too hard too to solve them via editor that you can basically just throw the work and start over manually. |
This PR changes all namespace declarations in the MudBlazor project to the state of the art file scoped variant.
Note that this is intentionally only for the MudBlazor project to keep the file count somewhat manageable. I will also provide PRs for the other projects if this PR is accepted.