Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 64668
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: ivan [...] imfont.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.07002
Fixed in: (no value)



Subject: Preserve case for column accessor method names
For some databases, it would be useful to have the column names match the column accessor method name. The preserve_case option really helped to preserve case for the actual column name but it did not for the accessor method name. Ideally, the user would be able to preserve a format for relationships, monikers, and/or column accessors. Example of current functionality: "CamelCase", { accessor => "camel_case", data_type => "varchar", is_nullable => 1, size => 128, }, The preserve_case option was able to preserve the "CamelCase" column name but the accessor method name became camel_case.
Added naming => { column_accessors => 'preserve' } in git.
Fixed in 0.07011 Use: naming => { column_accessors => 'preserve' }