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(web-analytics): Support null as string in channel type #21136

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

robbie-c
Copy link
Member

Problem

For a while we've been using "null" (the string) to represent no value and get around how initial properties work. Sadly this means we need to string the string "null" as if it was a null value.

Changes

Add another nullIf around utm tags

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Added a new test which failed without this change

@robbie-c robbie-c changed the title Support null as string in channel type feat(web-analytics): Support null as string in channel type Mar 25, 2024
@robbie-c robbie-c marked this pull request as ready for review March 25, 2024 17:34
@robbie-c robbie-c requested review from mariusandra and Twixes March 25, 2024 17:34
Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

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

Here's a ✅ if you need it, though perhaps we should set a more defined undefined?

@robbie-c robbie-c merged commit 652b75d into master Mar 25, 2024
127 checks passed
@robbie-c robbie-c deleted the support-null-as-string branch March 25, 2024 21:14
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