SEP-VIA-GROUP5 / SEP6

6th Semester Project
0 stars 1 forks source link

Make pagination on director.getAll and stars.getAll #99

Closed bis-code closed 1 year ago

bis-code commented 1 year ago

I need this value in order to redirect user to the correct url, either star or director overview

bis-code commented 1 year ago

Can be an enum...

export enum PeopleType { STAR = 'star', DIRECTOR = 'director', UNKNOWN = "UNKNOWN" }

something like this

bis-code commented 1 year ago

Please wait with this because i might add two arrays, one for directors and one for stars, and we wouldn't need this value anymore.

bis-code commented 1 year ago

So, we have two arrays, one for getting the directors and one for getting the stars. As I talked with you @Titas212 , make those arrays on pagination, like movies.