ngParty / ng-metadata

Angular 2 decorators and utils for Angular 1.x

Home Page:https://hotell.gitbooks.io/ng-metadata/content/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate off of OpaqueToken

aciccarello opened this issue · comments

Angular 5 will remove the OpaqueToken in favor of the InjectionToken. To support Angular 4 and 5, ng-metadata should use the InjectionToken at the cost of Angular 2 support.

Angular 5 breaking changes

Since ng-metadata does not use the OpaqueToken from the angular library things should continue to work as normal when upgrading a hybrid app from Angular 4 to 5. Therefore the only improvement would be api compatibility. Since the benefit would be pretty minimal I'll close