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

feat(profile): auto-activated support match exactly #9455

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

beastpu
Copy link
Contributor

@beastpu beastpu commented Jun 28, 2024

Description
we often use env to automatically trigger the profile, the env represent different business environments and I need to implement precise matching.

For example, there are two environments called cbt and cbtcn, I want to accurately match one of them based on environment variables. However, when the environment variable is set to cbtcn, it matches both environments, which is not what I expect.

Changes
I found that auto-activated by env is fuzzy matched.

so I want to add a new boolean field named exactMatch in the activation struct, which when set to true, would implement an exact match.

@beastpu beastpu requested a review from a team as a code owner June 28, 2024 11:34
@beastpu beastpu requested a review from renzodavid9 June 28, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant