Skip to content

Generate ObjC wrapper routes in spec_update workflow#469

Merged
cguldner merged 1 commit into
dropbox:masterfrom
cguldner:fix-objc-generation
Jul 23, 2026
Merged

Generate ObjC wrapper routes in spec_update workflow#469
cguldner merged 1 commit into
dropbox:masterfrom
cguldner:fix-objc-generation

Conversation

@cguldner

Copy link
Copy Markdown
Contributor

Summary

  • Run generate_base_client.py --objc in addition to the plain invocation so the SwiftyDropboxObjC wrapper is regenerated alongside the Swift code

Problem

The spec update PR #467 fails to compile because the ObjC wrapper (DBXCheckRoutes.swift) still references VoidSerializer for the check/user echo route, while the regenerated Swift code now uses Check.EchoErrorSerializer. The workflow only ran Swift generation, leaving the ObjC layer stale.

Test plan

  • Re-trigger spec_update and confirm the resulting PR compiles (Run Unit Tests passes)

🤖 Generated with Claude Code

generate_base_client.py must be run twice: once for the Swift code and
once with --objc for the SwiftyDropboxObjC wrapper. Without the second
invocation the ObjC generated code goes stale and fails to compile when
route signatures change (e.g. an error type is added).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cguldner
cguldner merged commit 3461439 into dropbox:master Jul 23, 2026
3 checks passed
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