-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
feat(core): add mergeApplicationConfig
method
#49253
Conversation
This is needed to provide the merge configuration method which will reside in core. DEPRECATED: `ApplicationConfig` has moved, please import `ApplicationConfig` from `@angular/core` instead.
This commits add a utility method to merge multiple `ApplicationConfiguration` into one from left to right. This is useful for server rendering were an application might have several configurations. Usage Example: ```ts const config = mergeApplicationConfig(appConfig, appServerConfig); ```
mergeApplicationConfig
method
4f44fbf
to
d157a78
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
This PR was merged into the repository by commit 4e9531f. |
This commits add a utility method to merge multiple `ApplicationConfiguration` into one from left to right. This is useful for server rendering were an application might have several configurations. Usage Example: ```ts const config = mergeApplicationConfig(appConfig, appServerConfig); ``` PR Close #49253
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
feat(core): add
mergeApplicationConfig
methodThis commits add a utility method to merge multiple
ApplicationConfiguration
into one from left to right. This is useful for server rendering were an application might have several configurations.Usage Example:
refactor(platform-browser): move
ApplicationConfig
to coreThis is needed to provide the merge configuration method which will reside in core.
DEPRECATED:
ApplicationConfig
has moved, please importApplicationConfig
from@angular/core
instead.