We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey guys! Thank you for the great tool! I'm experimenting a bit with multiple decorators like:
@decorate foo() @decorate bar() @decorate baz() def hello() do :world end
Intuitively I expect baz to decorate hello, then bar decorates baz and hello, then, finally foo decorates all of them bar, baz, hello.
baz
hello
bar
baz and hello
foo
bar, baz, hello
But for some reason, there is Enum.reverse here
Enum.reverse
decorator/lib/decorator/decorate.ex
Line 127 in 7adc22f
bar, foo, hello
What is the intention of reversing the order? And do you recommend applying several decorators? Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey guys!
Thank you for the great tool!
I'm experimenting a bit with multiple decorators like:
Intuitively I expect
baz
to decoratehello
, thenbar
decoratesbaz and hello
, then, finallyfoo
decorates all of thembar, baz, hello
.But for some reason, there is
Enum.reverse
heredecorator/lib/decorator/decorate.ex
Line 127 in 7adc22f
so the execution is the opposite:
baz
decoratesbar, foo, hello
.What is the intention of reversing the order?
And do you recommend applying several decorators?
Thank you!
The text was updated successfully, but these errors were encountered: