Skip to content

Inject services instead of passing them as method parameters#4756

Merged
premun merged 5 commits intodotnet:mainfrom
premun:prvysoky/di
Apr 29, 2025
Merged

Inject services instead of passing them as method parameters#4756
premun merged 5 commits intodotnet:mainfrom
premun:prvysoky/di

Conversation

@premun
Copy link
Copy Markdown
Member

@premun premun commented Apr 29, 2025

This repository was ridden with places where we were passing dependencies as arguments. We have mostly removed that but yesterday during the bug squashing I found few more places where it's then harder to use the classes so improving that.

@premun premun changed the title Inject services into Remote and do not pass them as args Inject services instead of passing them as args Apr 29, 2025
@premun premun changed the title Inject services instead of passing them as args Inject services instead of passing them as method parameters Apr 29, 2025
@premun premun requested review from adamzip and dkurepa and removed request for adamzip April 29, 2025 13:14
@premun premun merged commit fbc466c into dotnet:main Apr 29, 2025
9 checks passed
@premun premun deleted the prvysoky/di branch April 29, 2025 13:59
oleksandr-didyk added a commit that referenced this pull request Apr 30, 2025
<!-- Link the GitHub or AzDO issue this pull request is associated with.
Please copy and paste the full URL rather than using the
dotnet/arcade-services# syntax -->

Fixes an issue with missing services for `IRemote` resolution in Darc
introduced in #4756

<!-- #4756 -->
oleksandr-didyk added a commit that referenced this pull request Sep 17, 2025
<!-- Link the GitHub or AzDO issue this pull request is associated with.
Please copy and paste the full URL rather than using the
dotnet/arcade-services# syntax -->

Change `DebugType` compiler prop to fix BarViz not being debuggable in
VS and VS Code

<!-- #4756 -->
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