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

Merge configuration keys #101

Closed
wants to merge 7 commits into from
Closed

Merge configuration keys #101

wants to merge 7 commits into from

Conversation

func0der
Copy link
Contributor

Fix for #99

I can create a single commit, if that is preferred, but I thought for reviewing this is easier.

I added functionality to ContentNegotiationOptions that merges the - i call them legacy - config keys into one big one, so that different modules do not overwrite each other anymore.

Also I found a bug in the ContentNegotiationOptionsFactoryTest. The service key config has to be written in lower case, at least for your factory setup. I corrected that and recognized, that the test was not covering the whole factory. So I added two more test cases that should cover the whole factory class and its paths.

weierophinney added a commit that referenced this pull request May 7, 2018
weierophinney added a commit that referenced this pull request May 7, 2018
weierophinney added a commit that referenced this pull request May 7, 2018
@weierophinney
Copy link
Member

Thanks, @func0der; merged to develop for release with 1.4.0.

@func0der func0der deleted the merge_configuration_keys branch June 26, 2018 10:33
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