Skip to content

Posthog client sending 'true' on 'sendFeatureFlagEvent' #65

@pauld-doorloop

Description

@pauld-doorloop
Image

When sending 'sendFeatureFlagEvent' as false in clientOptions, calling 'getFeatureFlag' doesn't respect the client options but simply overrides it with sending true, for sending the 'feature flag called' event.

Recommend adding this in the constructor:

      this.sendFeatureFlagEvent = options.posthogConfiguration?.clientOptions?.sendFeatureFlagEvent ?? true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions