Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in API requests for associated information #11

Open
MattWindsor91 opened this issue Oct 6, 2016 · 0 comments
Open

Inconsistency in API requests for associated information #11

MattWindsor91 opened this issue Oct 6, 2016 · 0 comments

Comments

@MattWindsor91
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant