Conversation
Currently only one level of method calls is supported for finding quoting methods e.g. $dbh->quote but this allowed for multiple levels e.g. $foo->bar->baz->dbh->quote as long as one of them matches.
|
My apologies. For some reason I didn't see this PR until today. :(
I think that would be helpful. If you're able to do that, I can get this into a new release for you. |
|
So there's a tradeoff. The problem I identified predates my changes and so "fixing" it will introduce a backwards-incompatible change.
I can fix it by removing the |
|
Thank you! This looks good. I'm ok with a breaking change for this particular case. |
|
If you want to update the PR, I'm happy to move ahead with this. |
I found a lot of instances of $self->dbh->quote_identifier in my code that failed to pass because multiple stacked calls were not followed. This small change should allow that to work. Only flaw is it also allows $self->quote->unsafe->thing. If that is a concern, I could further refactor the code to only test the final method call in the stack.