dbsrgits / sql-translator

SQL::Translator (SQLFairy)
http://sqlfairy.sourceforge.net/
82 stars 91 forks source link

Revert "Fix passing of producer args from SQL::Translator::Diff." #138

Closed rabbiveesh closed 2 years ago

rabbiveesh commented 2 years ago

Reverts dbsrgits/sql-translator#117

broke the tests for SQLT-Diff, producer_args really is args for SQLT directly

rabbiveesh commented 2 years ago

@racke sorry, had to revert your PR.

For now, to accomplish your use case, you need to pass producer_args as a key to producer_args.

I'm going to make a different key that changes the API to use sqlt_args instead of producer_args so that this is more obvious, and it'll warn on the old usage.