This project is read-only.

Recursive Subquery Relationship Policy


Discussed in this thread:
Policy does not get applied recursively on itself. This shows up in situations like:
A customer has many orders
An order has one customer.
Get the customer from the database.
In this scenario, the expectation would be that the customer has a list of orders, each order has a customer, and then the order's customer also has a list of orders.
Due to the way policy is implemented policy is only applied 2-deep.

file attachments


smokingrope wrote Jan 3, 2012 at 3:21 AM

Attached patch implements a solution to this issue.

smokingrope wrote Jan 3, 2012 at 3:34 AM

I've included a write-up of this solution in the discussion thread.

wrote Feb 14, 2013 at 8:44 PM