-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature: Displaying Details for A Selected Anime JC-692 #9
base: feature/JC-674-authorization-feature-angular
Are you sure you want to change the base?
Conversation
|
private mapGenreListFromDto(dto: AnimeDetailDto['genres_data']): AnimeDetail['genreList'] { | ||
return dto.map(genreDto => this.genreMapper.fromDto(genreDto)); | ||
} | ||
|
||
private mapGenreListToDto(model: AnimeDetail['genreList']): AnimeDetailDto['genres_data'] { | ||
return model.map(genre => this.genreMapper.toDto(genre)); | ||
} | ||
|
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.
I'm not sure there is any reason to add these additional methods for lists.
It increases the amount of TS types we see, which we have to read and process... but if you did everything correctly, all needed them will be showed on hover
Quality Gate passedIssues Measures |
Implement a feature for displaying details for a selected anime.
By clicking on row into animes table the app has to be navigated to standalone URL of page with Anime detail info.
Detail page contains:
all fields from Table page
Detail page has:
Opening this page is not allowed for unauthenticated users.