Merge doesn't work?
See original GitHub issueHi I tried the merge option on all levels (application, service and method), but it is never triggered.
.configure(rx(RxJS, {
merge : function(current, data) {
console.log(current, data);
}
}))
const userService = app.service('users').rx({ merge : function(current, data) {
console.log(current, data);
}})
userService
.find({
merge : function(current, data) {
console.log(current, data);
}
}).subscribe(users => dispatch(receive_users(users.data))
Am I doing something wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
git merge does not merge - Stack Overflow
I have a master and "PersonalSite" branch for a codebase I'm working on. I have been repeatedly ...
Read more >Pandas Merge DataFrames Explained Examples
pandas support pandas.merge() and DataFrame.merge() to merge DataFrames which is exactly similar to SQL join and supports different types of join inner,
Read more >Merge, join, concatenate and compare - Pandas
Merge, join, concatenate and compare#. pandas provides various facilities for easily combining together Series or DataFrame with various kinds of set logic ...
Read more >How To Merge Pandas DataFrames | Towards Data Science
Usually, we may have to merge together pandas DataFrames in order to build a new DataFrame containing columns and rows from the involved...
Read more >Pandas merge() - Merging Two DataFrame Objects
Pandas DataFrame merge() function is used to merge two DataFrame objects with a database-style join operation. The joining is performed on ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, this took a while but I decided to remove the
merge
option in the latest version 0.3.0. By default Feathers dispatches the events in a way that the data can just be replaced so I don’t think it is really necessary. If it is for some reason we can circle back and add an option to customize the event and method streams.I know that it only works on update, patch, remove and created. But if you subscribe on find you will also get updates from those actions. When I subscribe on find and execute a patch I will get only the patched data (which will replace the whole array which I don’t want) Or am I using this incorrectly?