Add a create after hook on a service which performs a patch/update on the result object to add some properties (eg createdAt).
Expected behavior
The reactive data should not contains doublons.
Actual behavior
The updated item list contains the same object twice.
Problem is probably here, where the patch should not concat if no matching object is found, or here where the create should not concat if an already matching object is found.
Steps to reproduce
Add a create after hook on a service which performs a patch/update on the result object to add some properties (eg
createdAt
).Expected behavior
The reactive data should not contains doublons.
Actual behavior
The updated item list contains the same object twice.
Problem is probably here, where the patch should not concat if no matching object is found, or here where the create should not concat if an already matching object is found.
System configuration
Tell us about the applicable parts of your setup.
Module version): 0.8.1
NodeJS version: 12