Setono/PostNordBundle

Http client definition issue

igormukhingmailcom opened this issue · 1 comments

There are no notes about http client configuration in docs.

So installing this bundle (https://github.com/Setono/SyliusPickupPointPlugin with post_nord provider enabled) will cause You should specify setono_post_nord.http_client or require kriswallsmith/buzz to use it by default exception.

This happens because:

  • We haven't docs about http client configuration
  • Bundle configuration not throw some verbose exception about misconfiguration (like You should specify setono_post_nord.http_clientconfiguration or defineBuzz\Client\BuzzClientInterface service to use as default http client.)

Same issue we have at dao-bundle, btw.