Hi !
I'm facing a design inconsitency due to intimous cooperation between a report and a module (talking about Learning Time Chek)
As i could see, circular dependencies mess two things :
- They block the travis-ci install process
- They block the moodle plugin uninstall capability (the install dependency check passes)
so i would have to renounce to declare one of both ways.
why am i getting in this trap?
Because module and report have both distinct responsibilities and they need being linked in some way. Report uses data from the module using a cross component API and module may have to ask the report to check some data using report's fitering options.
so what would i worth doing? prefer binding dependencies of mod to report or report to mod?