AmitKumarDas / metac

It is metacontroller and more
Apache License 2.0
57 stars 16 forks source link

[hook] add support to invoke inline functions as hooks #36

Closed AmitKumarDas closed 5 years ago

AmitKumarDas commented 5 years ago

This commit adds support to specify inline functions as meta controller hooks. In other words, meta controller code as well as hook implementation can be built as a single binary. This avoids the need to have http service based invocations i.e. webhooks.

In addition to inline hook support, this commit has following changes:

NOTE: This support is also enabled for GenericController. Once this proves to be useful, it may be extended to other meta controllers.

Signed-off-by: AmitKumarDas amit.das@mayadata.io

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 0.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: