Skip to content

Conversation

@jeromevdl
Copy link
Contributor

Issue #, if available: #945
SqsLargeMessageAspect is not necessarily in the classpath, which cause an issue (warning during compilation) with gradle

Description of changes:

  • remove SqsLargeMessageAspect in DeclarePrecedence in Logging Module:
    • The * before LambdaLoggingAspect includes SqsLargeMessageAspect

Checklist

SqsLargeMessageAspect is not necessarily in the classpath
the * before LambdaLoggingAspect includes SqsLargeMessageAspect
@pankajagrawal16
Copy link
Contributor

The fix was done for this 484fcca, Check if it will break things.

@jeromevdl
Copy link
Contributor Author

The fix was done for this 484fcca, Check if it will break things.

You've created a test in powertools-test-suite to verify this (thank you!) and it works. The star before indicates that the logging aspect comes last (also after sqs aspect).

Copy link
Contributor

@msailes msailes left a comment

Choose a reason for hiding this comment

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

LTGM

@jeromevdl jeromevdl merged commit 09f038a into master Nov 24, 2022
@jeromevdl jeromevdl deleted the fix/945_warning_compilation branch November 24, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants