Skip to content
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

bindToComponentInputs, withComponentInputBinding & provideHttpClient should be included only for projects that need them #1210

Closed
jackofdiamond5 opened this issue Feb 20, 2024 · 1 comment
Assignees
Labels
core @igniteui/cli-core package templates component OR scenario template ✅ status: verified

Comments

@jackofdiamond5
Copy link
Member

jackofdiamond5 commented Feb 20, 2024

Description

Currently we've included the bindToComponentInputs, withComponentInputBinding & provideHttpClient in the base template for all of our projects. Instead, we should be adding them only if the project has route parameters and is explicitly using the HttpClient somewhere in the code.

We may also want to consider reworking the error routing for the projects.

  • Ignite UI CLI version: 13.1.6
  • Framework: Angular
  • Project type: igx-ts

Expected result

bindToComponentInputs, withComponentInputBinding & provideHttpClient should be included only for apps that need them

@jackofdiamond5 jackofdiamond5 added templates component OR scenario template core @igniteui/cli-core package 🆕 status: new labels Feb 20, 2024
@jackofdiamond5 jackofdiamond5 changed the title withComponentInputBinding & provideHttpClient should be included only for projects that need them bindToComponentInputs, withComponentInputBinding & provideHttpClient should be included only for projects that need them Feb 22, 2024
Copy link

There has been no recent activity and this issue has been marked inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core @igniteui/cli-core package templates component OR scenario template ✅ status: verified
Projects
None yet
Development

No branches or pull requests

3 participants