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

feat(api-graphql): alias authMode identityPool -> iam #13299

Merged
merged 3 commits into from Apr 26, 2024
Merged

Conversation

iartemiev
Copy link
Contributor

Description of changes

  • support authMode: 'identityPool', which is an alias for 'iam'

Description of how you validated changes

  • added unit tests

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@iartemiev iartemiev requested review from a team as code owners April 26, 2024 18:02
@@ -82,6 +82,7 @@ export type GraphQLAuthMode =
| 'oidc'
| 'userPool'
| 'iam'
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we start marking iam as @deprecated so we can remove it from the next major version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried that, but it doesn't actually surface over union types AFAICT

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe still worth it as a reminder to ourselves. I'll update

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2024-04-26 at 2 14 30 PM

svidgen
svidgen previously approved these changes Apr 26, 2024
@iartemiev iartemiev merged commit a5d176b into main Apr 26, 2024
31 checks passed
@iartemiev iartemiev deleted the rename-iam branch April 26, 2024 18:41
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.

None yet

3 participants