burtonrodman / EntityFrameworkCore.Auditing

0 stars 0 forks source link

inheriting from AuditableEntityBase defaults ModifiedBy column to nvarchar(max) #9

Open burtonrodman opened 11 months ago

burtonrodman commented 11 months ago

SHORT TERM - add [MaxLength(100)]

LONG TERM - implement convention that can be overridden by consumers.

burtonrodman commented 11 months ago

short term fix in v1.0.1

burtonrodman commented 1 month ago

assuming ModifiedBy would usually be an email address, the RFC+Errata defined max length for email address is 254 characters.