Skip to content

Fix ObjC bridge generator for nested DataPoint types#2881

Draft
barboraplasovska wants to merge 1 commit into
feature/timeseriesfrom
bplasovska/ts-pod/fix-objc-bridge-nested-datapoint
Draft

Fix ObjC bridge generator for nested DataPoint types#2881
barboraplasovska wants to merge 1 commit into
feature/timeseriesfrom
bplasovska/ts-pod/fix-objc-bridge-nested-datapoint

Conversation

@barboraplasovska
Copy link
Copy Markdown
Contributor

@barboraplasovska barboraplasovska commented May 5, 2026

What and why?

The ObjC interop code generator was walking all the way up to the top-level event class when resolving the root class for nested structs inside array items. This caused DataPoint wrapper classes to be typed as objc_RUMTimeseriesCpuEvent instead of objc_RUMTimeseriesCpuEventTimeseriesData, breaking the generated bridge.

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
  • Add Objective-C interface for public APIs - see our guidelines (internal)
  • Run make api-surface when adding new APIs

Copy link
Copy Markdown
Contributor Author

barboraplasovska commented May 5, 2026

@barboraplasovska barboraplasovska changed the title RUM-13949 fix ObjC bridge generator for nested DataPoint types RUM-13949 Fix ObjC bridge generator for nested DataPoint types May 5, 2026
@barboraplasovska barboraplasovska changed the title RUM-13949 Fix ObjC bridge generator for nested DataPoint types Fix ObjC bridge generator for nested DataPoint types May 5, 2026
@barboraplasovska barboraplasovska force-pushed the bplasovska/ts-pod/fix-objc-bridge-nested-datapoint branch from 4f769b0 to 5f0cc9c Compare May 13, 2026 14:04
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.

1 participant