Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#51 closed enhancement (wontfix)

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

Reported by: jcernelli@… Owned by: adrian
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: UI/UX:


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 11 years ago by jacob

  • milestone set to Version 1.0

comment:2 Changed 11 years ago by adrian

  • Status changed from new to assigned

comment:3 Changed 11 years ago by adrian

  • Resolution set to wontfix
  • Status changed from assigned to closed

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 9 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

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