Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support wrapping for module functions #3

Open
fabawi opened this issue Aug 16, 2021 · 0 comments
Open

Support wrapping for module functions #3

fabawi opened this issue Aug 16, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@fabawi
Copy link
Member

fabawi commented Aug 16, 2021

Wrapify restricts the decorator to methods defined within classes. There are no technical limitations as to why this isn't possible. However, Wrapify maintains the properties for each class independently, to avoid clashes in naming conventions and triggering multiple instances within the module. This is especially problematic since the publisher ports would clash with other triggering calls. We can resolve this issue by spawning a MiddlewareCommunicator for the module itself.

@fabawi fabawi added the help wanted Extra attention is needed label Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant