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

Remove play-json from dependencies #82

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

aracho1
Copy link
Contributor

@aracho1 aracho1 commented Aug 9, 2024

Co-authored-by: @alinaboghiu @rtyley

What does this change?

In the past week, we experienced issues with mobile notifications not being sent out. Logs were indicating void play.api.libs.json.Format.$init$(play.api.libs.json.Format) errors since upgrading the mobile-notifications-api-models library from 1.0.16 to 1.0.18.

@rtyley helpfully pointed out this was due to a conflict in the version of the play-json library that this project is using vs. the version mobile-notifications-api-models library is using. Normally scala would default to using the latest version of the library in case of such conflict but the because the author of this library has changed (com.typesafe.playorg.playframework), it resulted in the conflict.

This PR therefore removes the play-json from the project dependencies as we can import the correct version via the mobile-notifications-api-models library.

How to test

I tested this on CODE by creating a test article on composer CODE. The logs look healthy

Lambda logs
image

Notification api logs
image

Copy link
Member

@alinaboghiu alinaboghiu left a comment

Choose a reason for hiding this comment

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

Beautiful, thanks Ara!

Copy link
Member

@rtyley rtyley left a comment

Choose a reason for hiding this comment

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

Nice one!

@aracho1 aracho1 merged commit d696e7a into main Aug 9, 2024
2 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.

3 participants