PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.23k stars 1.26k forks source link

chore: convert label to json to handle empties #23458

Closed danielxnj closed 3 months ago

danielxnj commented 3 months ago

Problem

When labels are empty it breaks the json used by the cloud deployment.

Changes

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

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

How did you test this code?

posthog-bot commented 3 months ago

Hey @danielxnj! 👋 This pull request seems to contain no description. Please add useful context, rationale, and/or any other information that will help make sense of this change now and in the distant Mars-based future.