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
This should be changed so the root file (main.cpp) or a dependency injection framework creates these and passes them in as references. Don't worry about the sensors in plant service for now, those will be fixed in #4.
The text was updated successfully, but these errors were encountered:
Multiple objects create their own dependencies, which causes tight coupling and makes testing more difficult. An example is the rest server:
Firmware/src/restserver.cpp
Lines 15 to 19 in 881d03b
This should be changed so the root file (main.cpp) or a dependency injection framework creates these and passes them in as references. Don't worry about the sensors in plant service for now, those will be fixed in #4.
The text was updated successfully, but these errors were encountered: