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

Disables ivy as it breaks libraries with ViewEngine compiler #156

Merged
merged 3 commits into from
Aug 11, 2021
Merged

Disables ivy as it breaks libraries with ViewEngine compiler #156

merged 3 commits into from
Aug 11, 2021

Conversation

pavankjadda
Copy link
Collaborator

No description provided.

@pavankjadda pavankjadda self-assigned this Aug 11, 2021
…in libraries and applications using ViewEngine
@pavankjadda pavankjadda merged commit f9b709d into stevermeister:master Aug 11, 2021
pavankjadda added a commit that referenced this pull request Aug 11, 2021
@@ -12,9 +12,9 @@ export class CookieService {
private readonly documentIsAccessible: boolean;

constructor(
@Inject(DOCUMENT) private document: Document,
@Inject(DOCUMENT) private document: any,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angular team fixed this error with Ivy, so we can use @Inject(DOCUMENT) private document: Document

but for users who are using ViewEngine it broke the library, issues were caused by this #144 and #145

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the explanation!

@@ -12,7 +12,8 @@
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"enableResourceInlining": true
"enableResourceInlining": true,
"fullTemplateTypeCheck": true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

2 participants