New issue

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

feat(upgrade): add support for AOT via '@angular/upgrade/static' api #180

Merged
merged 3 commits into from Dec 24, 2016

Conversation

Projects
None yet
1 participant
@Hotell
Member

Hotell commented Nov 20, 2016

  • add new super powers for hybrid ng1/ng2
  • don't need to create new opaque tokens for downgrade ng2 services, just decorate the service with ngMetadata @Injectable and everything will work == even less refactoring during migrating to ng2 ! yay!
  • @input,@output are automatically determined for you so you don't have to specify them within downgradeComponent function
  • add convenient helper for upgrading ng1/ngMetadata services to ng2 via upgradeInjectable
  • allow easily upgradable ngMetadata @Injectable services to ng2 via upgradeAdapter.upgradeNg1Provider

All new API's are available under ng-metadata/upgrade module namespace

Closes #178

feat(upgrade): add support for AOT via '@angular/upgrade/static' api
- add new super powers for hybrid ng1/ng2
- don't need to create new opaque tokens for downgrade ng2 services, just decorate the service with ngMetadata @Injectable and everything will work == even less refactoring during migrating to ng2 ! yay!
- @input,@output are automatically determined for you so you don't have to specify them within downgradeComponent function
- add convenient helper for upgrading ng1/ngMetadata services to ng2 via `upgradeInjectable`
- allow easily upgradable ngMetadata @Injectable services to ng2 via `upgradeAdapter.upgradeNg1Provider`

All new API's are available under `ng-metadata/upgrade` module namespace

Closes #178
@Hotell

This comment has been minimized.

Show comment
Hide comment
@Hotell

Hotell Nov 20, 2016

Member

TODO:

  • add tests
Member

Hotell commented Nov 20, 2016

TODO:

  • add tests

Hotell added some commits Dec 24, 2016

feat(packages): update to rxjs@5.0.1 and unpin the rxjs peerDeps via …
…^5.0.1. Also move to stable TS 2.1 (#189)

Closes #185

@Hotell Hotell merged commit d0c0e5d into master Dec 24, 2016

7 checks passed

continuous-integration/gitbook/epub GitBook build "epub" succeeded
Details
continuous-integration/gitbook/json GitBook build "json" succeeded
Details
continuous-integration/gitbook/mobi GitBook build "mobi" succeeded
Details
continuous-integration/gitbook/pdf GitBook build "pdf" succeeded
Details
continuous-integration/gitbook/website GitBook build "website" succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@Hotell Hotell deleted the upgrade/static branch Dec 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment