-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate all components and services from constructor-based DI to inject() pattern #1320
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
Migrate all components and services from constructor-based DI to inject() pattern #1320
Conversation
|
|
…ct() pattern Co-authored-by: renemadsen <[email protected]>
|
@copilot We need to fix this issue to be able to test the changes: #19 15.30 /app/InsightDashboard.Pn/InsightDashboard.Pn.Test/AnswersUTests.cs(95,45): error NUnit2021: The EqualTo constraint always fails as the actual and the expected value cannot be equal (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2021.md) [/app/InsightDashboard.Pn/InsightDashboard.Pn.Test/InsightDashboard.Pn.Test.csproj] |
Co-authored-by: renemadsen <[email protected]>
Fixed in ffde12b. Changed the NUnit assertions from comparing |
|
@copilot ✘ [ERROR] TS2300: Duplicate identifier 'authStateService'. [plugin angular-compiler] |
…nents Co-authored-by: renemadsen <[email protected]>
Fixed in 9a28edc. Addressed two issues:
|
|
@copilot [ERROR] TS2551: Property 'chartTypes' does not exist on type 'DashboardChartEditComponent'. Did you mean 'chartType'? [plugin angular-compiler] |
…-chart-edit component Co-authored-by: renemadsen <[email protected]>
Fixed in 77b8346. Restored the missing |
injectfrom '@angular/core'Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.