Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Alive? #108

Open
ludydoo opened this issue Oct 16, 2015 · 10 comments
Open

Alive? #108

ludydoo opened this issue Oct 16, 2015 · 10 comments

Comments

@ludydoo
Copy link

ludydoo commented Oct 16, 2015

Hi, is this project still alive? Decorators are not part of ES6, so has this project been dropped?

@mmoulton
Copy link

I'm interested in knowing as well.

For example, is this project being abandoned for the new core angular 2 impl here: https://github.com/angular/angular/tree/master/modules/angular2/src/core/di

If so, are there plans to be able to easily use that angular 2 impl in node as a stand alone module?

Can you provide any direction for us @vsavkin @dmtrs @iammerrick

Thanks!

@ludydoo
Copy link
Author

ludydoo commented Oct 27, 2015

? anyone here

@iammerrick
Copy link
Contributor

di.js is deprecated and replaced by the Angular 2 dependency injector.

@mmoulton
Copy link

Thank you @iammerrick for a definitive answer.

Can you possibly point me to an example or docs on how the Angular 2 DI might be used stand alone in node, if at all? I've attempted to get it to run before without any luck.

@pkozlowski-opensource
Copy link
Member

Can you possibly point me to an example or docs on how the Angular 2 DI might be used stand alone in node, if at all? I've attempted to get it to run before without any luck.

It is not easy to use it as standalone atm and there is no documentation for such setup. There is a plan to extract DI library from the angular2 repo in the future, but this is not the case today.

@amurdock
Copy link

Unfortunately I got impatient and decided to extract it myself. You can find the extract here along with an es6 example.

@L8D
Copy link

L8D commented Jan 25, 2016

I open sourced my in-house version here which is built on babel-runtime and is kept up to date. Mine also supports injection with React components and handles mock re-evaluation properly with child injectors. Although there aren't any up-to-date docs at the moment.

@KostyaTretyak
Copy link

@mmoulton say:

Can you possibly point me to an example or docs on how the Angular 2 DI might be used stand alone in node, if at all? I've attempted to get it to run before without any luck.

https://github.com/angular/di.js/tree/master/example/node

@mgechev
Copy link
Member

mgechev commented Aug 6, 2017

This project is not actively maintained. You can use the dependency injection implementation from @angular/core or its extraction in injection-js.

@nicojs
Copy link

nicojs commented Feb 15, 2018

Could we add a "deprecated" message to the top of the repo?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants