Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#51 closed enhancement (wontfix)

Create add_* methods for objects with a many-to many-relationship

Reported by: jcernelli@… Owned by: Adrian Holovaty
Component: Metasystem Version: 1.0
Severity: normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Objects with a many-to-one relationship have an add_object method for adding the type of object on the "many" end of the relationship to the list of values within the type of object on the "one" end of the relationship. Objects with a many-to-many relationship, however, are lacking these methods.

For example: two objects, Set and Tag, have a many-to-many relationship. The Set object should have an add_tag method and the Tag method should have an add_set method.

Change History (4)

comment:1 Changed 14 years ago by Jacob

milestone: Version 1.0

comment:2 Changed 14 years ago by Adrian Holovaty

Status: newassigned

comment:3 Changed 14 years ago by Adrian Holovaty

Resolution: wontfix
Status: assignedclosed

What you've described is already possible, although not in a single line (which is, I guess, what you're after). Because it's already possible, I'm marking this as a wontfix for now, in the name of keeping the API as small as possible.

comment:4 Changed 13 years ago by (none)

milestone: Version 1.0

Milestone Version 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top