While playing around with using create_ddl_dir and SQL::Translator::Producer::GraphViz today, I discovered that I couldn't get my pretty graphs to be as pretty as I would have liked, because I couldn't seem to pass any arguments to create_ddl_dir which made it through to the producer. Digging into it, it turns out that the sqltargs option to create_ddl_dir was being ignored completely.

This quick little patch corrects the issue, without breaking any existing tests. I tried to put together some tests to go with it, but just couldn't figure out where in the translator code I could hook in to make sure the arguments were getting passed through correctly, maybe somebody with more understanding of the SQL::Translator internals can point me in the right direction...

Attachment: dbix-class-sql-translator-args-patch
Description: Binary data




--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire


_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to