tools.nrepl

Provide a mechanism for overriding an operation

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 0.2.0-beta9, 0.2.0-beta10
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

When specifying middleware, it would be much easier for the user to be able to override a default middleware without having to specify a handler.

For example, if there is a default middleware providing the "complete" operation, the user should be able to just specify their preferred completion middleware, without having to specify all middleware as a handler.

One way to do this might be to check metadata for the provided operations of the specified metadata, and ensure that either the default middleware for that operation is removed, or that the specified middleware takes precendence (which may be simpler when a middleware provides multiple operations).

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: