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

Replace PrimeNGConfig with PrimeNG #16637

Closed
cetincakiroglu opened this issue Oct 25, 2024 · 0 comments
Closed

Replace PrimeNGConfig with PrimeNG #16637

cetincakiroglu opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@cetincakiroglu
Copy link
Contributor

PrimeNGConfig will extend PrimeNG injectable.

Old:

import { PrimeNGConfig } from 'primeng/api';
...
primeng = inject(PrimeNGConfig);
...

New:

import { PrimeNG } from 'primeng/api';
...
primeng = inject(PrimeNG);
...

Both use cases are valid.

@cetincakiroglu cetincakiroglu added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Oct 25, 2024
@cetincakiroglu cetincakiroglu added this to the 18.0.0-rc.1 milestone Oct 25, 2024
@cetincakiroglu cetincakiroglu self-assigned this Oct 25, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

1 participant