Skip to content

Commit

Permalink
docs: mark useCompatibilityV0Tags as deprecated already
Browse files Browse the repository at this point in the history
  • Loading branch information
aripalo committed Nov 19, 2024
1 parent 441b53e commit 42105b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/smartstack/tags/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export function useLegacyTags(scope: Construct): boolean {
* Due to a bug in v0, the `Contact` and `Organization` tags were NOT applied as they should have.
* This flag can be used to enforce behavior that matches v0 implementation:
* I.e. `Contact` and `Organization` tags are NOT applied.
*
* @deprecated This behavior is not encouraged and will be removed in v2.
*/
export function useCompatibilityV0Tags(scope: Construct): boolean {
const contextKey = '@alma-cdk/project:compatibility:v0:tags';
Expand Down

0 comments on commit 42105b4

Please sign in to comment.