You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
In
lists.go
, there is a functionGetMembers
which takes aList
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 functionGetTrackListForTimeslot
which takes the timeslot ID, not aTimeslot
.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.The text was updated successfully, but these errors were encountered: