Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Allow hooks to provide implementation for decorated methods #1018

Merged
merged 2 commits into from
Nov 2, 2017

Conversation

Mitko-Kerezov
Copy link
Contributor

Whenever a before-hook returns a function it will be used instead of the original method.
When executing such a substitute function it receives a pointer to the original one as well as all its arguments.

Ping @TsvetanMilanov @nadyaA @rosen-vladimirov

Whenever a before-hook returns a function it will be used instead of the original method.
When executing such a substitute function it receives a pointer to the original one as well as all its arguments.
@Mitko-Kerezov Mitko-Kerezov force-pushed the vladimirov/hooks-execution branch from 5e89752 to 27f57cc Compare November 2, 2017 12:05
@Mitko-Kerezov Mitko-Kerezov force-pushed the vladimirov/hooks-execution branch from 7663415 to b66d028 Compare November 2, 2017 14:28
@Mitko-Kerezov Mitko-Kerezov merged commit c8a450b into master Nov 2, 2017
@Mitko-Kerezov Mitko-Kerezov deleted the vladimirov/hooks-execution branch November 2, 2017 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants