ZF2-235: Circular dependency in DI for TableGateway and RowGateway
Description
When I configure a TableGateway, a ResultSet and a RowGateway for one Table, a Circular dependency Exception is Thrown.
Which is the right way to have a custom TableGateway returning a custom ResultSet and custom RowGateway on select?
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2012-03-23T21:50:47.000+0000
Could you please provide an example of how you are trying to do it?
Also, just in case you haven't yet, take a look at the last example (5.3.1.7) on the TableGateway manual page (here). It shows how to use TableGateway, ResultSet and RowGateway together.
Posted by Ralph Schindler (ralph) on 2012-03-23T21:55:13.000+0000
I am aware of this, and will find a solution for beta4.
Posted by Ralph Schindler (ralph) on 2012-07-11T19:05:59.000+0000
Fixed in beta5