Skip to content
Snippets Groups Projects
Commit 1247ec5f authored by Ilya Verbin's avatar Ilya Verbin Committed by Serge Petrenko
Browse files

box/lua: switch box.iproto.override() to event triggers

Switch the legacy `box.iproto.override()' interface to the newly introduced
event triggers. This change is mostly not user-visible, except:
 - Now it can be called before `box.cfg{}';
 - Now request type can be set as a string;
 - Some changes in error messages;
 - The "overriding does not support ... request type" error is logged,
   rather than raised;
 - The internal trigger is visible via the `trigger' module.

If some request type is overridden by both interfaces (legacy
`box.iproto.override()' and new `trigger.set()'), the order of invocation
of the handlers is unspecified.

Closes #8138

NO_DOC=internal
parent 6fed99bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment