You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In applications.service.ts, several functions currently use the any type. This is dangerous - replace any with the correct, strongly typed definitions to improve type safety. Also, in submitApp(), follow the existing TODO to make the user dynamic.
Update the reviews entity: it currently has a reviewerId field. Create a proper one-to-many relationship between reviews and the user entity using TypeORM. Verify the new relationship by adding and deleting reviews through PgAdmin to ensure data integrity.
Acceptance Criteria:
No usage of any type remains in applications.service.ts
submitApp() dynamically handles user as intended
One-to-many relationship between reviews and user entity is correctly implemented
Adding and deleting reviews via PgAdmin reflects correctly in the database and respects entity relationships
Description:
Acceptance Criteria:
Resources:
T-Shirt Size: M