fukamachi / integral

[OBSOLETE] Use Mito instead.
https://github.com/fukamachi/mito
BSD 3-Clause "New" or "Revised" License
54 stars 3 forks source link

Nicer generate defclass api #25

Closed rudolph-miller closed 9 years ago

rudolph-miller commented 9 years ago
fukamachi commented 9 years ago

I assume you wanna generate a defclass form from a table-name string. If so, just allowing a table name in generate-defclass would be better.

rudolph-miller commented 9 years ago

Actually, no. I wanna generate-defclass with just symbol before creating class.

fukamachi commented 9 years ago

Hm, okay. Then the table-name feature is redundant and it doesn't look any "nicer" at all to me.

rudolph-miller commented 9 years ago

Often people want to create class user with table-name users, I think. And, actually I wanna create class advertiser with advertisers just using (generate-defclass 'advertiser :table-name "advertisers") without creating classadvertisers` before generating.