Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add SymfonyHttpClient file configuration#177

Merged
gordalina merged 1 commit into
gordalina:masterfrom
nlemoine:master
May 11, 2021
Merged

Add SymfonyHttpClient file configuration#177
gordalina merged 1 commit into
gordalina:masterfrom
nlemoine:master

Conversation

@nlemoine
Copy link
Copy Markdown
Contributor

@nlemoine nlemoine commented May 11, 2021

Unfortunately, current implementation does not allow to use SymfonyHttpClient in the config file.

This PR decouples the http object creation logic from the config parsing.

However, there's still some inconsistencies because Config object properties and cli/file parameters are being merged/mixed up/not consistently named (temp_dir / webAllowInsecure).

@nlemoine
Copy link
Copy Markdown
Contributor Author

Maybe bringing a private method like getConfigOrParameter with parameter taking precedence over config file value would solve this?

@gordalina gordalina merged commit 9f44d97 into gordalina:master May 11, 2021
@gordalina gordalina changed the title Allow SymfonyHttpClient config in file Add SymfonyHttpClient file configuration May 11, 2021
@gordalina
Copy link
Copy Markdown
Owner

Thank you for your contribution! Released in 6.3.0

@nlemoine
Copy link
Copy Markdown
Contributor Author

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants