Skip to content

fix: update CognitoUserPoolPreTokenGenerationEventV2 response model #519

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

Merged
merged 7 commits into from
Feb 4, 2025

Conversation

godcrampy
Copy link
Contributor

@godcrampy godcrampy commented Jan 31, 2025

Issue #: #516

Description of changes:

  • Fix incorrect response model for CognitoUserPoolPreTokenGenerationEventV2 to match the exprected contract from the docs
  • Expose the fix as v3.15.0 since it's a breaking change.
  • Update ci scripts for samples to use the events library from current build.

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

@godcrampy godcrampy requested a review from maxday February 4, 2025 08:25
distribution: corretto

# Install events module using Java 8
Copy link
Contributor

Choose a reason for hiding this comment

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

Have we verified that we need this change? Does CI still pass when we revert this modification?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No it doesn't pass. The above CI runs are examples of experiments I tried to make it work with Java 21 (didn't work). The issue is that the event package has it's compiler set to Java 8, hence this looks like a forced move.
image

@maxday
Copy link
Contributor

maxday commented Feb 4, 2025

LGTM! Thanks! 🎉, I just left a small comment

@maxday maxday self-requested a review February 4, 2025 11:07
@godcrampy godcrampy merged commit befa67d into main Feb 4, 2025
4 checks passed
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.

4 participants