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

Remove to access repositories from schedule usecases #211

Closed
YutoMizutani opened this issue Dec 2, 2018 · 1 comment
Closed

Remove to access repositories from schedule usecases #211

YutoMizutani opened this issue Dec 2, 2018 · 1 comment
Labels
WIP Work in progress

Comments

@YutoMizutani
Copy link
Owner

No description provided.

@YutoMizutani YutoMizutani added the WIP Work in progress label Dec 2, 2018
@YutoMizutani
Copy link
Owner Author

問題

例として,
let schedule: ScheduleUseCase = DiscreteTrialUseCase(Alt(FT(5), CRF()))
の場合,extendEntityの更新にはrepositoryのupdateExtendEntityを呼ぶ必要があり,subschedule(s)が内部に複数のsubscheduleを持つcompound scheduleの場合,各usecaseにプロパティが反映されない問題が発生する。

解決方法

原則としてrepositoryからアクセスできないよう, protocol ScheduleUseCase からrepositoryを除外する必要がある

YutoMizutani added a commit that referenced this issue Dec 3, 2018
@YutoMizutani YutoMizutani mentioned this issue Dec 3, 2018
YutoMizutani added a commit that referenced this issue Dec 3, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
@YutoMizutani YutoMizutani mentioned this issue Dec 4, 2018
YutoMizutani added a commit that referenced this issue Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

No branches or pull requests

1 participant