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

chore(smithy): Service clients prep #3528

Merged
merged 13 commits into from
Aug 14, 2023
Merged

chore(smithy): Service clients prep #3528

merged 13 commits into from
Aug 14, 2023

Conversation

dnys1
Copy link
Contributor

@dnys1 dnys1 commented Aug 8, 2023

  • Updates to latest SDK models
  • Updates to latest goldens
    • Updates aft to correctly pull latest Smithy version (commit)
    • Fixes minor issue with HTTP metadata (commit)
  • Removes most prefixing in generated code (e.g. _i0. - commit)
  • Adds AWS credentials provider chain (commit)

@dnys1 dnys1 requested a review from a team as a code owner August 8, 2023 18:14
Dillon Nys added 10 commits August 8, 2023 11:20
Updates Smithy version when `--update` is passed to the `generate goldens` command.
…t `httpPayload`

Don't consider metadata members when a service does not support the `httpPayload` trait. Some Smithy models may include these traits but they should just be ignored.
In order to clean up generated code a bit, only prefix types exported from the runtime packages (e.g. `aws_common`, `smithy`). This can probably be refined further to use `show` instead but this would require dynamically updating the types which conflict or enumerating them all up front.
To remove import prefixes.
@dnys1 dnys1 force-pushed the feat/amplify-service-clients branch from 2e8088c to 384471b Compare August 8, 2023 18:20
@@ -0,0 +1,57 @@
import 'dart:async';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License headers added in subsequent commit

@dnys1 dnys1 added pr:rebase PR should be submitted with a rebase commit pr:merge PR should be submitted with a merge commit and removed pr:rebase PR should be submitted with a rebase commit labels Aug 8, 2023
Jordan-Nelson
Jordan-Nelson previously approved these changes Aug 9, 2023
});

final bool withPrefixing;
final PrefixStrategy withPrefixing;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Might make sense to rename this withPrefixStrategy

@dnys1 dnys1 merged commit e3fda03 into main Aug 14, 2023
168 checks passed
@dnys1 dnys1 deleted the feat/amplify-service-clients branch August 14, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:merge PR should be submitted with a merge commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants