Skip to content

refactor: Update SentryAttribute to use a generic array type #7341

@github-actions

Description

@github-actions

Note

The pull request "refactor: Update SentryAttribute to use a generic array type" was created by @itaybre but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

📜 Description

Replaces the array attributes type with a generic array

💡 Motivation and Context

After reviewing the developer docs, I found out that array attributes now expect array as the type.
Related:

💚 How did you test it?

For now only unit tests, array attributes are not visible in Sentry UI so only unit tests

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions