Implemented execute() in SaveController: we now create a saveNoteInputData object and pass it into saveNoteInteractor.execute(). Adjusted SaveNoteInputBoundary to now take a saveNoteInputData object as parameter, before it was just empty. removed note object from SaveNoteInteractor's constructor parameter. Note objects should not be directly passed into the constructor but rather be created or updated within the Interactor's execute() method. Added
noteFactory attribute to saveNoteInteractor so that new notes may be created when we call execute(). Heavily adjusted EditNoteUseCaseFactory to account for passing in the correct attributes when creating Interactor.
noteFactory attribute to saveNoteInteractor so that new notes may be created when we call execute(). Heavily adjusted EditNoteUseCaseFactory to account for passing in the correct attributes when creating Interactor.
Implemented
execute()
inSaveController
: we now create asaveNoteInputData
object and pass it intosaveNoteInteractor.execute()
. AdjustedSaveNoteInputBoundary
to now take asaveNoteInputData
object as parameter, before it was just empty. removed note object fromSaveNoteInteractor
's constructor parameter. Note objects should not be directly passed into the constructor but rather be created or updated within the Interactor'sexecute()
method. AddednoteFactory
attribute tosaveNoteInteractor
so that new notes may be created when we callexecute()
. Heavily adjustedEditNoteUseCaseFactory
to account for passing in the correct attributes when creating Interactor.noteFactory
attribute tosaveNoteInteractor
so that new notes may be created when we callexecute()
. Heavily adjustedEditNoteUseCaseFactory
to account for passing in the correct attributes when creating Interactor.