Skip to content

Fix double space in Swift generated parameter types#33

Merged
joaoffcosta merged 1 commit into
mainfrom
joao/fix-double-space-property-types
May 26, 2026
Merged

Fix double space in Swift generated parameter types#33
joaoffcosta merged 1 commit into
mainfrom
joao/fix-double-space-property-types

Conversation

@joaoffcosta

Copy link
Copy Markdown
Member

Summary

  • Strip whitespace from property names and types when parsing CSV spreadsheet data
  • Fixes cases where fromScreen: SideGameFromScreen in the spreadsheet produced fromScreen: SideGameFromScreen (double space) in generated Swift code

Test plan

  • Added CSV fixture with space after colon (fromScreen: SideGameFromScreen)
  • Verified test fails before fix (type has leading space)
  • All 67 tests pass after fix

🤖 Generated with Claude Code

When spreadsheet entries have spaces around the colon separator
(e.g. "fromScreen: SideGameFromScreen"), the type retained a leading
space, causing double spaces in generated Swift code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joaoffcosta joaoffcosta merged commit f5eab99 into main May 26, 2026
2 of 5 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