DEV: Add unique ids to deprecations (#19019)

This will improve the QUnit deprecation summaries introduced via 8c48285145
This commit is contained in:
David Taylor
2022-11-16 10:00:39 +00:00
committed by GitHub
parent 25aa0bc10d
commit 392bafcd7e
42 changed files with 115 additions and 30 deletions

View File

@@ -1073,7 +1073,11 @@ export default Component.extend(
discourseSetup &&
discourseSetup.getAttribute("data-environment") === "development"
) {
deprecated(text, { since: "v2.4.0", dropFrom: "2.9.0.beta1" });
deprecated(text, {
since: "v2.4.0",
dropFrom: "2.9.0.beta1",
id: "discourse.select-kit",
});
}
},