from what i understand, the return value for add should be the id. however, the implementation for construct.add returns the result of save which returns the object.
notifying store expects an id to be returned from add and so the channel value is '[object Object]' when it tries to assign the return value to the channel.
from what i understand, the return value for
addshould be the id. however, the implementation forconstruct.addreturns the result ofsavewhich returns the object.notifying store expects an id to be returned from
addand so the channel value is'[object Object]'when it tries to assign the return value to the channel.