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

Add diff_mode property to DashboardTableColumn resource to specify primary keys in a table resource #601

Open
wants to merge 5 commits into
base: tp
Choose a base branch
from

Conversation

pskrbasu
Copy link
Collaborator

No description provided.

@pskrbasu pskrbasu requested a review from kaidaguerre November 28, 2024 14:06
@pskrbasu pskrbasu self-assigned this Nov 28, 2024
@pskrbasu pskrbasu changed the title Add primary_key property to DashboardTableColumn resource to specify primary keys in a table resource Add diff_mode property to DashboardTableColumn resource to specify primary keys in a table resource Nov 29, 2024
diags = append(diags, &hcl.Diagnostic{
Severity: hcl.DiagError,
Detail: err.Error(),
Subject: block.DefRange.Ptr(),
Copy link
Contributor

Choose a reason for hiding this comment

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

use hclhelpers.BlockRange


// Validate checks the validity of the column's properties and sets default values.
func (c *DashboardTableColumn) Validate() error {
// validate Display
Copy link
Contributor

Choose a reason for hiding this comment

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

define map[string]struct{} of validDisplay and and diffmode properties

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.

2 participants