[DDC-2004] Allowing objects as filters Created: 31/Aug/12  Updated: 26/Jan/13  Resolved: 26/Jan/13

Status: Closed
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: New Feature Priority: Minor
Reporter: Bilal Amarni Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 1
Labels: None



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.


Comment by Gordon Franke [ 26/Jan/13 ]

can be closed allready in master

Generated at Mon Aug 31 21:53:23 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.