Skip to content

fix(analytics): fix user traits types violations #23970

@NicolasMassart

Description

@NicolasMassart

What is this about?

Segment schema violation for the following user traits in identify calls:

  • traits.security_providers: Invalid type. Expected: array, given: string
  • traits.has_marketing_consent: Invalid type. Expected: boolean, given: string

Scenario

No response

Design

No response

Technical Details

Update traits types to be

Threat Modeling Framework

No response

Acceptance Criteria

  • no more schema violations reported on these traits

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Data

References

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions