Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Remove the global config array to ArrayObject conversion #110

Closed
wants to merge 1 commit into from
Closed

Remove the global config array to ArrayObject conversion #110

wants to merge 1 commit into from

Conversation

geerteltink
Copy link
Member

@geerteltink geerteltink commented Sep 3, 2016

The config array to object conversion is Aura.Di specific only. Other containers like disco (bitExpert/disco-demos#1) can't handle this. It's better to convert the config array only where needed.

Aura.Di needs this since it's the only way to inject the config into the container as it only accepts objects.

This PR moves the array to object conversion to the Aura.Di specific container.php file.

NOTE: This might be considered a BC break if the config is actually used as an object in 3rd party modules.

The config array to object conversion is Aura.Di specific only. Other
containers like Disco can't handle this. It's better to convert the
config array only where needed.

Aura.Di needs this since it's the only way to inject the config into
the container as it only accepts objects.
@geerteltink geerteltink added this to the 1.1.0 milestone Nov 20, 2016
geerteltink added a commit that referenced this pull request Nov 20, 2016
Remove the global config array to ArrayObject conversion
geerteltink added a commit that referenced this pull request Nov 20, 2016
@geerteltink
Copy link
Member Author

Merged into develop for 1.1.0.

@geerteltink geerteltink deleted the hotfix/remove-global-arrayobject branch December 9, 2016 16:07
@weierophinney weierophinney modified the milestones: 1.1.0, 2.0.0 Jan 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants