Opened 19 years ago

Closed 19 years ago

Last modified 17 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

Description

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 by Jacob, 19 years ago

milestone: Version 1.0

comment:2 by Adrian Holovaty, 19 years ago

Status: newassigned

comment:3 by Adrian Holovaty, 19 years ago

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 by (none), 18 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

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