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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] handle constants in add-to-ng functions #17

Open
vladimirpotekhin opened this issue Jun 15, 2021 · 0 comments
Open

[FEATURE] handle constants in add-to-ng functions #17

vladimirpotekhin opened this issue Jun 15, 2021 · 0 comments
Assignees

Comments

@vladimirpotekhin
Copy link
Member

馃殌 Feature request

Is your feature request related to a problem?

There is a constant (link to array) uses in some projects as value for a descriptor property
for example
providers: APP_PROVIDERS

The addProviderToNgModule function ignores this case

Describe the solution you'd like

It would be great if we could work with this constants

I think function should modify original array (APP_PROVIDERS) or wrap original value with array and add new item ([APP_PROVIDERS, newItem])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 馃挕 Backlog
Development

No branches or pull requests

2 participants