#51 closed enhancement (wontfix)
Create add_* methods for objects with a many-to many-relationship
Reported by: | 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 |
Pull Requests: | How to create a pull request | ||
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 , 20 years ago
milestone: | → Version 1.0 |
---|
comment:2 by , 20 years ago
Status: | new → assigned |
---|
comment:3 by , 20 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.