-
Notifications
You must be signed in to change notification settings - Fork 143
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
remove static components, helpers, modifiers settings #2246
base: main
Are you sure you want to change the base?
Conversation
ccb0096
to
f872f1c
Compare
@@ -145,7 +143,7 @@ Scenarios.fromProject(() => new Project()) | |||
'templates/application.hbs': `{{hello-world arg=1}}`, | |||
}); | |||
|
|||
await configure({ staticComponents: true }); | |||
await configure({ staticInvokables: true }); | |||
|
|||
expectTranspiled('templates/application.hbs').failsToTransform( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this case doesn't throw an error any more 🤔 I don't know if that is expected
@@ -323,15 +320,15 @@ class TemplateResolver implements ASTPlugin { | |||
} | |||
|
|||
private get staticComponentsEnabled(): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All three of these private getters can get replaced with a single staticInvokablesEnabled
This is part of #2207
This removes the staticComponents, staticHelpers, and staticModifiers settings and throws an error if they are used