jaredhanson / jaredhanson/electrolyte
version 0.3.0 returns objects while 0.4.0 returns promises
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 555
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Can someone explain why the new version of electrolyte breaks the way of working. On doing `ioc.create() `it is returning promise in version 0.4.0 while in 0.3.0 it returns the object exported via the `component`. Nested promises as well....
Any pointers on how to use the new version of electrolyte and reconcile old code with new version of electrolyte?
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by comparing the documented or implemented behavior of ioc.create() between electrolyte 0.3.0 and 0.4.0. Trace how the returned value and nested dependencies are produced, then verify whether the current API documents a migration path or expected promise handling for existing code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100