Skip to content

Fix clientside pattern matching with a dot in the id. #3168

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

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Feb 14, 2025

Fixes #3163

Copy link
Contributor

@gvwilson gvwilson left a comment

Choose a reason for hiding this comment

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

one small suggestion but 👍 to merge

componentId = JSON.parse(componentId);
const trig = triggered[0];
let componentId;
if (trig.startsWith('{')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

worth stripping whitespace from triggered[0] before this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, we create this composite, there is no whitespace possible.

@T4rk1n T4rk1n merged commit a00407d into dev Feb 14, 2025
3 checks passed
@T4rk1n T4rk1n deleted the fix/dot-in-dict branch February 14, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants