Sylius / AdminOrderCreationPlugin

Create orders in Sylius as an Administrator
MIT License
56 stars 50 forks source link

Should use ApiPlatform's CustomerProvider #162

Open kayue opened 3 years ago

kayue commented 3 years ago

I noticed AdminOrderCreationPlugin has its own CustomerProvider

https://github.com/Sylius/AdminOrderCreationPlugin/blob/62485d9c6b7069301cac2b1097825096185e7ac2/src/Provider/CustomerProvider.php#L39-L49

It should use the one from \Sylius\Bundle\ApiBundle\Provider\CustomerProviderInterface so that it can support Sylius Plus properly.