Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen reader/writer methods only when needed #1495

Closed
2 tasks
jbelkins opened this issue May 10, 2024 · 1 comment
Closed
2 tasks

Codegen reader/writer methods only when needed #1495

jbelkins opened this issue May 10, 2024 · 1 comment
Assignees
Labels
feature-request A feature should be added or improved.

Comments

@jbelkins
Copy link
Contributor

Describe the feature

Currently any nested model get both a reader and a writer method, even if one or the other does not get called.

Instead, generate only the methods that are needed by the model.

Use Case

To minimize the compiled size of the SDK.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@jbelkins
Copy link
Contributor Author

Released in AWS SDK for Swift 0.44.0
https://github.com/awslabs/aws-sdk-swift/releases/tag/0.44.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

1 participant