Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Use hooks and resolvers instead of direct database calls #8871

@HexaField

Description

@HexaField
  • all feathers classes should have no overrides
  • all calls to _find, _get, _create, _patch, _update, _remove are replaced with hooks
  • hooks only modify parameters & queries, and handle side effects (eg. file manipulations)
  • code paths are split up into multiple actions & relevant hooks
  • all hooks are tested
  • Following are the list of KnexAdapter based services which needs to be moved to KnexService
    • analytics
    • authentication-setting
    • avatar
    • bot
    • channel
    • channel-user
    • client-setting
    • identity-provider
    • instance
    • invite
    • location
    • login-token
    • match-ticket
    • match-ticket-assignment
    • message
    • project
    • project-permission
    • recording
    • route
    • scope
    • static-resource
    • user
    • user-api-key
    • user-relationship

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions