terraform/internal/command/views/json/testdata/diagnostic
Daniel Schmidt 75445e1ef8 use a string as deprecation origin to help with indirect references
We want to be able to give better information if e.g. the entire module is stored in a local and the deprecated value is only later used.

Where the diag is emitted we might only see the local and not the true origin of the deprecation

A string identifying the source of the deprecation should help
2026-02-03 16:04:43 +01:00
..
error-whose-range-starts-at-a-newline.json command/views/json: Never generate invalid diagnostic snippet offsets 2021-06-28 13:42:28 -07:00
error-with-empty-highlight-range-at-end-of-source-code.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-multi-line-snippet.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-and-expression-referring-to-a-collection-containing-a-sensitive-value.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-and-expression-referring-to-sensitive-value-when-not-caused-by-sensitive-values.json tfdiags: Treat unknown-related or sensitive-related messages differently 2022-06-23 13:52:23 -07:00
error-with-source-code-subject-and-expression-referring-to-sensitive-value.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-and-known-expression.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-and-unknown-expression-of-unknown-type-when-not-caused-by-unknown-values.json tfdiags: Treat unknown-related or sensitive-related messages differently 2022-06-23 13:52:23 -07:00
error-with-source-code-subject-and-unknown-expression-of-unknown-type.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-and-unknown-string-expression.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-but-no-context.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject-with-multiple-expression-values.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-subject.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-source-code-unavailable.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
error-with-unset-highlight-end-position.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
sourceless-warning.json Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
warning-with-deprecation-origin.json use a string as deprecation origin to help with indirect references 2026-02-03 16:04:43 +01:00