sonata-project / SonataDatagridBundle

[Abandoned] Symfony SonataDatagridBundle
https://docs.sonata-project.org/projects/SonataDatagridBundle
MIT License
278 stars 37 forks source link

Something is wrong with DoctrinePager/ElasticaPager, DoctrineProxyQuery/ElasticaProxyQuery #235

Closed VincentLanglet closed 3 years ago

VincentLanglet commented 4 years ago

The sonata datagrid bundle is exposing

Sonata\DatagridBundle\Pager\Doctrine\Pager :

Sonata\DatagridBundle\Pager\Elastica\Pager :

Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery :

Sonata\DatagridBundle\ProxyQuery\Elastica\ProxyQuery :

IMHO, the two Elastica classes doesn't work and should be removed.

And we should find a way to remove the doctrine-orm dependency from this bundle. We can

A solution could be to deprecate Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery in favor of Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery and same for Pager.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

VincentLanglet commented 3 years ago

The package will be deprecated anyway.