This subject came up on the TurboGears list and someone suggested I post here.

I noticed a while back that in SqlAlchemy 0.3.x, if you have two mapped classes 
A and B, and you define the same relationship (with a backref) on both classes, 
you won't get an error message but the two relationships interfere with each 
other. For example, you might set the value of the relationship and it won't be 
saved to the database. Would it be possible to detect and flag this as an error 
at model compilation time?

Perhaps there are other model problems like this which could be detected 
automatically. If so, I think it would really flatten the learning curve for 
SqlAlchemy newbies.

Barry





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to