posthog-go icon indicating copy to clipboard operation
posthog-go copied to clipboard

Support for `is_date_after` operator

Open osangenis opened this issue 5 months ago • 0 comments

Feature flags using dates are failing to evaluate locally because the operator is_date_after is not known in the method matchProperty. When you use that operator, there is log entry: Unable to compute flag locally (flag_name) - Can't determine if feature flag is enabled or not with given properties --> but in reality, the issue is the operator (unknown). Then, there is a fallback to remote evaluation. I don't see a reason why it can't be computed locally.

Additionally, it would be nice to log these errors with Debug as there is a fallback to remote evaluation.

Thank you so much in advance!!!

osangenis avatar Jul 31 '25 15:07 osangenis