Skip Menu |

This queue is for tickets about the Catalyst-Enzyme CPAN distribution.

Report information
The Basics
Id: 23121
Status: new
Priority: 0/
Queue: Catalyst-Enzyme

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

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



Subject: WISH: build a default profile based on the database schema.
I see that you are using Data::FormValidator for form validation. It would be great to build a default profile based on the database schema. For example, a NOT NULL fields becomes a required. A varchar(100) would have a constraint addeded with a max length of 100. The core of this work has already been done and published here: http://search.cpan.org/~markstos/Data-FormValidator-FromDBI-0.04_01/ It's really just a "sketch", though. Perhaps another design is better. If you want to discuss this further, let's do that on the DFV users list. Thanks! Mark