[Dbix-class] [PATCH] create_ddl_dir ignores sqltargs
Jason Kohles
email at jasonkohles.com
Fri Nov 2 15:47:10 GMT 2007
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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbix-class-sql-translator-args-patch
Type: application/octet-stream
Size: 1096 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20071102/96b4e39d/dbix-class-sql-translator-args-patch.obj
-------------- next part --------------
--
Jason Kohles, RHCA RHCDS RHCE
email at jasonkohles.com - http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
More information about the DBIx-Class
mailing list