apollographql / apollographql/apollo-tooling

client:codegen --no-addTypename for SWIFT target

Open
#1,357 5 comments 0 reactions 0 assignees View on GitHub
:bird: component - swift 🤖 component - codegen
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

Code generate `--no-addTypename` is not working for `swift` target.
Any version <=`2.13.1` has this issue. Apollo-iOS example can reproduce.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the Apollo-iOS example using codegen --no-addTypename and the Swift target. Compare the generated output with and without the option; done means the Swift output omits typename fields when the flag is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, swift, typescript
Domain
mobile-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.