Mixins execute backwards
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
Research direction
No source file or test is named in the issue. Start by locating the mixin execution entry point in the repository and reproduce the example with two dependent mixins. Done means mixins run in the declared array order, with a regression test covering that order.
Written by the indexing model from the issue text.
Description
In my application I do something like this
mixins: [LoggedInMixin, UserIsBlaBla]
The second mixin in the array depends on something in Meteor.user() so we need to make sure the user is logged in first. But, unexpectedly, mixins will run in reverse order so I have to reverse the array:
mixins: [UserIsBlaBla, LoggedInMixin]
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meteor/validated-method
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
meteor/validated-method#95 · 1 comment ·
-
Async validationOpen
Difficulty 4/5 3-5 days Newbie friendliness 38/100
meteor/validated-method#94 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
meteor/validated-method#89 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
meteor/validated-method#87 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
meteor/validated-method#81 · 1 comment ·
All issues in meteor/validated-method
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CircuitVerse/CircuitVerse#7967 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CopilotKit/aimock#491 ·
Maintainers usually reply within 1 day
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:devguard/l3montree-c.../devguard-documentation risk:low state:open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
l3montree-dev/devguard-documentation#338 · 1 comment ·
-
bug runtime spec compliance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
frostney/GocciaScript#1413 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
keyxmakerx/Chronicle#967 ·
Maintainers usually reply within 1 day