Skip to content

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

Open
@vladimirpotekhin

Description

πŸš€ 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])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions