X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=ab176b0cd106bcacc156a5a20e5374a66af400b7;hb=maint%2F0.04;hp=24c6e2ff02f7ba573b2299aef3be492daad4bda4;hpb=42c0680e31ad53d052426471cfa394003f64236c;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/TODO b/TODO index 24c6e2f..ab176b0 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,20 @@ -Reminders to myself or whoever else ever looks in here... +support multiple/all schemas, instead of just one + +support pk/uk/fk info on views, possibly. May or may not be a sane thing to try to do. + +Fix up ResultSet Manager / Methods / etc stuff. May require some work in the +main DBIx::Class first. SQLite needs some heavy refactoring, the subroutines are becoming too complex to understand easily. -MySQL needs implicit FK support, I think. -Need tests for left_base_classes, additional_classes, additional_base_classes... -Consider: +Refactor RelBuilder so that it doesn't require a live mostly-built +DBIx::Class::Schema, so that other modules (SQLT) can use it easier. And then +when/if we get there, break it out as a seperate distribution with a new name. + +Relationship stuff: If local column is UNIQUE or PK, use has_one() for relation? Re-scan relations/tables after initial relation setup to find ->many_to_many() relations to be set up? Check NULLability of columns involved in the relationship, which might suggest a more optimal non-default -join-type? - -... + While scanning for many-to-many, scan for implied rels as well? (if foo->belongs_to('bar') and baz->belongs_to('bar'), does that impliy foo->might_have('baz') and the reverse?) + ...