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

chore: Add support for dynamic expression in label application rules #233

Merged
merged 4 commits into from
Jun 11, 2024

Conversation

saxenakshitiz
Copy link
Contributor

No description provided.

@saxenakshitiz saxenakshitiz requested a review from a team as a code owner June 11, 2024 13:40
Copy link

Test Results

25 tests  ±0   25 ✅ ±0   25s ⏱️ ±0s
11 suites ±0    0 💤 ±0 
11 files   ±0    0 ❌ ±0 

Results for commit ca0e7a6. ± Comparison against base commit a02e74f.

@GraphQLField
@GraphQLName(LABEL_EXPRESSION_KEY)
@GraphQLNonNull
String labelExpression();
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe labelExpressionTemplate ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is named as label_expression in config service. Should we just keep the names aligned?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keeping names aligned for now

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think so, the internal name is bad and now an expression object contains an expression. Getting the user facing name right is more important than matching the internal config.

@saxenakshitiz saxenakshitiz merged commit 3697588 into main Jun 11, 2024
6 checks passed
@saxenakshitiz saxenakshitiz deleted the add_dynamic_expr_for_labels branch June 11, 2024 16:37
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