Skip to content

Commit e69d25e

Browse files
authored
schema: Implement DeprecationMessage for resources, data sources, and provider (#140)
1 parent 9f3cb2f commit e69d25e

File tree

17 files changed

+36
-0
lines changed

17 files changed

+36
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: ENHANCEMENTS
2+
body: 'schema: Added `Description`, `MarkdownDescription` and `DeprecationMessage`
3+
fields to resource, data source and provider schemas'
4+
time: 2024-05-15T10:04:22.078016-04:00
5+
custom:
6+
Issue: "112"

internal/cmd/testdata/custom_and_external/all_output/default_pkg_name/datasource_example/example_data_source_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/all_output/default_pkg_name/provider_example/example_provider_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/all_output/default_pkg_name/resource_example/example_resource_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/all_output/specified_pkg_name/example_data_source_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/all_output/specified_pkg_name/example_provider_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/all_output/specified_pkg_name/example_resource_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/data_sources_output/example_data_source_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cmd/testdata/custom_and_external/ir.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@
728728
}
729729
}
730730
],
731+
"deprecation_message": "This data source is deprecated!",
731732
"description": "\"Example\" datasource",
732733
"markdown_description": "\"Example\" _datasource_"
733734
}
@@ -1055,6 +1056,7 @@
10551056
}
10561057
}
10571058
],
1059+
"deprecation_message": "This provider is deprecated!",
10581060
"description": "\"Example\" provider",
10591061
"markdown_description": "\"Example\" _provider_"
10601062
}
@@ -1435,6 +1437,7 @@
14351437
}
14361438
}
14371439
],
1440+
"deprecation_message": "This resource is deprecated!",
14381441
"description": "\"Example\" resource",
14391442
"markdown_description": "\"Example\" _resource_"
14401443
}

internal/cmd/testdata/custom_and_external/provider_output/example_provider_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)