-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamodb #4
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
base: main
Are you sure you want to change the base?
Conversation
…h in UserMovieStatus. Deleting Watchlist.
…t to make them by myself.
…indAll, countMovies, findByPlatform.
…ieStatusRepositoryImpl. Removing AWS credentials from application.properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on November 14
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| if (!auth.isAuthenticated) { | ||
| auth.signinRedirect(); | ||
| return null; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| @DynamoDbAttribute("ageRating") | ||
| public Rating getAgeRating() {return rating; } | ||
| public void setRating(Rating rating) { this.rating = rating; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| public String generateMovieId() { | ||
| return this.year + "#" + this.title.toLowerCase().replace(" ", "-"); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Movie ID Format Mismatch Causes Query Failures
The generateMovieId() method generates movieId in a year#title format. This conflicts with the Movie class's sort key definition and repository queries, which expect a genre#title format. This inconsistency leads to incorrect key generation and prevents movies from being found.
| ))} | ||
| <div className="mt-2"> | ||
| <select | ||
| value={selectedGenre} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.