Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Query Table widget] - Add text formats to request (WIP) #2587

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hyungl
Copy link

@hyungl hyungl commented Sep 19, 2024

No description provided.

@hyungl hyungl force-pushed the hyung.lee/payp-27 branch 2 times, most recently from ad9491d to de35b6d Compare September 19, 2024 10:28
@hyungl hyungl changed the title query table text formats (WIP) query table widget - add text formats to request (WIP) Sep 19, 2024
@hyungl hyungl changed the title query table widget - add text formats to request (WIP) [Query Table widget] - Add text formats to request (WIP) Sep 19, 2024
@hyungl hyungl force-pushed the hyung.lee/payp-27 branch 5 times, most recently from 7b41249 to 2d81d3b Compare September 20, 2024 09:54
@@ -1365,7 +1365,8 @@ func testAccDatadogDashboardWidgetUtil(t *testing.T, config string, name string,
assertions[i] = replacer.Replace(assertions[i])
}
accProvider := testAccProvider(t, accProviders)

provider, _ := accProvider()
fmt.Println(fmt.Sprintf("custom_fg_color is optional %v", provider.ResourcesMap["datadog_dashboard"].SchemaFunc()["widget"].Elem.(*schema.Resource).Schema["query_table_definition"].Elem.(*schema.Resource).Schema["request"].Elem.(*schema.Resource).Schema["text_formats"].Elem.(*schema.Schema).Elem.(*schema.Resource).Schema["custom_fg_color"].Optional))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For checking that field is optional in schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant