On 22 February 2013 11:36, Peter Rabbitson <rabbit+d...@rabbit.us> wrote:


> At first glance yes. The problem here is that you are incorrectly
> assuming that given 'concept.concept_id' one can simply infer we are
> talking about the 'concept' from join => { element => 'concept' }.
>
> However the moment *another* 'concept' appears, possibly due to chaining
> somewhere deep in your app - what do you do? Here is a real test case: [1]


That problem already exists when referring to the alias of a
joined/prefetched table in the 'select' list or search specification,
though - this wouldn't introduce any *new* ambiguity at all, surely?
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to