In some cases DRY is also related to parse-don't-validate. Don't repeat validation all over, but have a single canonical parser and a single canonical data transfer object. Typescript frontend+backend makes this even easier.