ITU-BDSA2024-GROUP30 / Chirp

The great Chirp repository for Group 30!
Other
1 stars 0 forks source link

(7.1.c) as DEVELOPERS we want to CONSTRAIN LENGTH OF CHEEPS OF 160 CH. because OUR CHIRP! APPLICATION SHOULD NOT ACCEPT CHEEPS LONGER THAN 160 CHARACTERS. #63

Closed HenrijetteOest closed 2 weeks ago

HenrijetteOest commented 1 month ago

Using the mechanisms presented by Adrian, ensure that only cheeps up to 160 characters length can be stored.

Constrain cheeps so that only cheeps of length 160 characters are considered valid. Your Chirp! application should not accept cheeps that are longer than 160 character. Such cheeps should never be stored to the database.

tomat-suppe commented 2 weeks ago

Should be able to easily fix in the EFCore/DTO files. Something about [MaxLength(160)]. Not exactly this.

Deadline 12/11

tomat-suppe commented 2 weeks ago

Fixed by Henriette