Skip to content

Commit

Permalink
Deprecate template resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 13, 2024
1 parent 9d9342b commit 25045c5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions addon/addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,21 @@ class Resolver extends EmberObject {
let namespace = this.namespace;
let root = namespace;

deprecate(
`Components with separetly resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts.`,
false,
{
id: 'template-resolving',
url: 'https://deprecations.emberjs.com/id/template-resolving',
until: '6.0.0',
for: 'ember-source',
since: {
available: '5.10.0',
enabled: '5.10.0',
},
}
);

return {
parsedName: true,
fullName: fullName,
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25045c5

Please sign in to comment.