8000 Hooks do not apply for realtime events · Issue #376 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Hooks do not apply for realtime events #376

@Mangatt

Description

@Mangatt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0