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

Patch Browser Action Events with array of ids #873

Merged
merged 1 commit into from
May 30, 2022

Conversation

maxep
Copy link
Member

@maxep maxep commented May 30, 2022

What and why?

Browser SDK support action id as string or as array of strings as defined in schema:
https://github.com/DataDog/rum-events-format/blob/master/schemas/rum/_action-child-schema.json#L15L31

How?

This is not yet supported by the Swift schema generator, as a workaround we pick the first id when
we encounter an array.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes

Custom CI job configuration (optional)

  • Run unit tests
  • Run integration tests
  • Run smoke tests

Workaround action with array of ids
@maxep maxep requested a review from a team as a code owner May 30, 2022 16:08
@maxep maxep self-assigned this May 30, 2022
Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

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

🩹⛑✅

@maxep maxep merged commit e2a961d into develop May 30, 2022
@maxep maxep deleted the maxep/patch-browser-action-event branch May 30, 2022 17:13
This was referenced Jun 13, 2022
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