[DBIx-Class-Devel] [dbsrgits/sql-translator] Producer args not used when generating SQL diffs (#81)

Dagfinn Ilmari Mannsåker notifications at github.com
Thu Mar 31 13:54:17 GMT 2016


The problem with changing it to `producer_args => $self->producer_args` is that that would break existing uses of that to pass arguments to the translator, like [this test](https://github.com/dbsrgits/sql-translator/blob/master/t/30sqlt-new-diff-mysql.t#L36-L44).  The attribute really should have been called `translator_args`.

@fgabolde: Can you try changing the `create_ddl_dir` argument to `{ producer_args => { producer_args => { mysql_version => 5 } } }`?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/issues/81#issuecomment-203951221
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160331/2151e2fc/attachment.htm>


More information about the DBIx-Class-Devel mailing list