Skip to content
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

Make directive AOT Compatible #199

Merged
merged 4 commits into from
Oct 17, 2016
Merged

Make directive AOT Compatible #199

merged 4 commits into from
Oct 17, 2016

Conversation

timwright35
Copy link
Contributor

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • [ X] Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

Does not compile in AOT

What is the new behavior?

Compiles in AOT

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • [X ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Change the way inputs are declared to make the directive AOT Compatible

Change the way inputs are declared to make the directive AOT Compatible
Add the TS file for AOT
Add the needed packages to the package.json for AOT
I realized that the option for skipMetadataEmit should be false so it will make the require metadata.json files.
@elvisbegovic
Copy link
Contributor

@amcdnl please merge this asap AoT is really must have feature! Thanks

@timwright35
Copy link
Contributor Author

Do know this makes the code compile with AOT but I have not figured out how to make the compiled ngc AOT code bundle into the existing task chain. I was hoping @amcdnl could help there.

@amcdnl amcdnl merged commit c1a6e08 into swimlane:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants