Skip to content

Custom dynamic endpoints #404

@vddesai1871

Description

@vddesai1871

I'm submitting a

  • bug report.
  • feature request.

Current Behaviour:

Right now, hydrus only serves static data and provides standard CRUD operations over
that data, it doesn’t allow the user to define some logic to process incoming data and
provide generated output.

Expected Behaviour:

hydrus should provide some way to define dynamic endpoints, and thus let users define
logic to process incoming data.

The Command Dispatcher Pattern and can be used. The developer can create a Command_dispatcher class having commands(extra logic) as
methods ( following some protocol), then it can be passed to hydrus where hydrus will
form commands according to the protocol and check whether the given (command_dispatcher) object has that attribute or not, if yes then get that attribute (method) and execute it.

Steps to reproduce:

Do you want to work on this issue?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions