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
There are multiple getters for experiments from person object and from experimentDao with on first sight unclear or even redundant purpose.
For example, in Person object, there is a method getExperiments which returns only some experiments - but not experiments which user owns, such experiments must be obtained by using method getExperimentsForOwnerId. Moreover, for experiments, where is user a subject there is method of getExperimentsForSubjectId.
Bottom line - there is unclear when and where use which method in order to obtained desired data. This may not be a problem not only for experiments data type, but other types as well, this is only an example I've been facing recently.
The text was updated successfully, but these errors were encountered:
There are multiple getters for experiments from person object and from experimentDao with on first sight unclear or even redundant purpose.
For example, in Person object, there is a method getExperiments which returns only some experiments - but not experiments which user owns, such experiments must be obtained by using method getExperimentsForOwnerId. Moreover, for experiments, where is user a subject there is method of getExperimentsForSubjectId.
Bottom line - there is unclear when and where use which method in order to obtained desired data. This may not be a problem not only for experiments data type, but other types as well, this is only an example I've been facing recently.
The text was updated successfully, but these errors were encountered: