Skip to content

Inconsistency in API requests for associated information #11

Description

@MattWindsor91

In lists.go, there is a function GetMembers which takes a List pointer, but only uses it to get the ID to do a call for the members on that list.

In timeslot.go, there is a function GetTrackListForTimeslot which takes the timeslot ID, not a Timeslot.

This seems inconsistent---thoughts on which (or both?) we should expose? My feeling is that we should use IDs for the top-level functions and then perhaps expose members on List, Timeslot etc. which take a session as a parameter and call into those functions with the given object's ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions