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
add
should be the id. however, the implementation forconstruct.add
returns the result ofsave
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.