Hi,
I've just found that hooks do not apply for realtime events. Following code will remove password field from service response.
app.service('users').after({ all: hooks.remove('password'), });
But when entry is updated, whole entry is emmited through updated event, even with password field.
Are there any plans for unifiying filters for both service methods and realtime events or is there any workaround?
Hi,
I've just found that hooks do not apply for realtime events. Following code will remove password field from service response.
app.service('users').after({ all: hooks.remove('password'), });But when entry is updated, whole entry is emmited through updated event, even with password field.
Are there any plans for unifiying filters for both service methods and realtime events or is there any workaround?