Mixin application order #1295
Unanswered
leiyangyou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Behavior
mixins started invocation order is in reverse
Expected Behavior
I expect that mixin invocation order is in order of inclusion
Failure Information
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
env SERVICES=exps yarn start
Reproduce code snippet
the above code prints db service started then queue service started
is there any particular reason why mixin inclusions are in reverse order of definition?
the relevant lines are in service.js, why do we reverse()?
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Beta Was this translation helpful? Give feedback.
All reactions