You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at Pool class we can improve it in some ways, these are my thoughts:
Extract title, logo and options to a Configuration class, these parameters are used as configuration for the whole project, they shouldn't be needed for instantiate a Pool. Introduce SonataConfiguration class #6640
Feature Request
Looking at Pool class we can improve it in some ways, these are my thoughts:
title
,logo
andoptions
to aConfiguration
class, these parameters are used as configuration for the whole project, they shouldn't be needed for instantiate a Pool. Introduce SonataConfiguration class #6640ServiceLocator
with only the admin services, so we wouldn't need them to be public. Inject a ServiceLocator to Pool instead of container #6733After this the Pool class would be use just a registry for admin classes which I think it was meant to be.
The last one I guess it cannot be done with BC, but the other two we can deprecate those parameters in the Pool class.
WDYT? @sonata-project/contributors
The text was updated successfully, but these errors were encountered: