DDC-2004: Allowing objects as filters #2682

Closed
doctrinebot opened this Issue Aug 31, 2012 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user bamarni:

Hi,

Is there a particular reason why we can only add filter class names in the orm config and not objects?

For example when using the orm with symfony2 it would allow to use services as filters, currently I guess we have to manually get the filter from the em and set the needed dependencies.

If you're interested by this I can work on a PR in the orm to allow setting a filter with both an object or a class, and then retrieving or creating it in the FilterCollection enable method.

Bilal

@doctrinebot

Comment created by gimler:

can be closed allready in master

@doctrinebot

Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment