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

fix: compilation warning with SqsLargeMessageAspect on gradle #998

Merged
merged 1 commit into from
Nov 24, 2022

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