Comments (7)
I was thinking about the exact same thing. We could set params.changefeed
to the changefeed values and do both things at once.
from feathers-rethinkdb.
I was also debating that for the 1.0 release we may want to make watching changefeeds an explicit option due to some of the caveats I outlined in #76
from feathers-rethinkdb.
Agreed, watch
should be false
by default. As for me all events for any services in feathers should be switchable but issue not about it...
So, can I create a PR for changefeed
? My personal interest in old_value
for update event, new value available in hook.result
. So what exactly changefeed
field should contains?
from feathers-rethinkdb.
@daffl pss, so what about PR?
from feathers-rethinkdb.
@daffl so what do you say? My proposal is to have:
changefeed = {
old_val?:Object;
new_val?:Object;
}
and new_val will be duplicated in hook.result for hook behavior consistency.
from feathers-rethinkdb.
@daffl This would be very useful to me as I'm trying to create an after hook that only sends an email if a user role gets changed directly from the database. Not sure how to accomplish this without the old_val also.
from feathers-rethinkdb.
Closing, see #119
from feathers-rethinkdb.
Related Issues (20)
- FeathersJS REST Multiple Query String HOT 7
- Expected type TABLE but found SELECTION HOT 2
- Querying for numeric equality HOT 3
- How to use Customizing the query HOT 1
- Query $In Generating error when passed with more than 30 Values HOT 6
- how use table- join ? HOT 1
- How do I add a custom method to the rethinkdb service ? HOT 1
- Missing TypeScript Support/Typings Support HOT 6
- Maintainer needed HOT 3
- An in-range update of debug is breaking the build 🚨 HOT 1
- An in-range update of @feathersjs/socketio is breaking the build 🚨 HOT 1
- An in-range update of @feathersjs/socketio is breaking the build 🚨 HOT 1
- An in-range update of mocha is breaking the build 🚨 HOT 1
- Multiple databases HOT 17
- Support searching against nested fields using dot notation HOT 4
- Change feeds hang silently after disconnecting from server or after re-balancing a sharded cluster HOT 2
- An in-range update of feathers-hooks is breaking the build 🚨 HOT 1
- Error while trying to patch multiple records HOT 6
- Hello how find record with param orderby ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feathers-rethinkdb.