DEV: add discourse prefix to deprecation ids to differentiate from ember deprecations (#27910)

This commit is contained in:
Kelv 2024-07-15 15:10:04 +08:00 committed by GitHub
parent a3d319ac2f
commit 1d277ba96e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ export default class TopicList extends RestModel {
deprecated(
`TopicList.find is deprecated. Use \`findFiltered("topicList")\` on the \`store\` service instead.`,
{
id: "topic-list-find",
id: "discourse.topic-list-find",
since: "3.1.0.beta5",
dropFrom: "3.2.0.beta1",
}

View File

@ -447,7 +447,7 @@ export function controllerFor(controller, model) {
deprecated(
'controllerFor is deprecated. Use the standard `getOwner(this).lookup("controller:NAME")` instead',
{
id: "controller-for",
id: "discourse.controller-for",
since: "3.0.0.beta14",
}
);