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

Auto-generate Package.swift for service clients #1549

Closed
2 tasks
Tracked by #1255
jbelkins opened this issue Jun 6, 2024 · 0 comments
Closed
2 tasks
Tracked by #1255

Auto-generate Package.swift for service clients #1549

jbelkins opened this issue Jun 6, 2024 · 0 comments
Assignees
Labels
feature-request A feature should be added or improved. indiv-svc-client

Comments

@jbelkins
Copy link
Contributor

jbelkins commented Jun 6, 2024

Describe the feature

Every service client that is generated should be generated with a Package.swift manifest file that defines it as its own Swift package, along with its dependencies.

(We do already generate a package manifest in codegen, so that existing capability may be used to generate a Package.swift if it is updated to latest specs.)

The manifest should be generated with correct dependencies specified for the SDK & smithy-swift modules that it references in code.

The existing Package.swift is typically not copied over in the "build SDK" stage with existing automation. The Package.swift should be verified to work, but we're not going to use it at this time - it will be relied on in a later task.

Use Case

To support individual distribution of service clients by providing them with their own package manifest.

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 jbelkins added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jun 6, 2024
@jbelkins jbelkins changed the title Auto-generate Package.swift for service clients & protocol tests Auto-generate Package.swift for service clients Jun 10, 2024
@jbelkins jbelkins self-assigned this Jun 10, 2024
@jbelkins jbelkins added indiv-svc-client and removed needs-triage This issue or PR still needs to be triaged. labels Jun 10, 2024
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. indiv-svc-client
Projects
None yet
Development

No branches or pull requests

2 participants