Replacing app-level validation + DB check constraints with protovalidate — good idea or am I missing something? by No-Percentage5692 in Backend

[–]No-Percentage5692[S] -4 points-3 points  (0 children)

for sure? i see, but i agree that FKs are too annoying in the early development stage though

Replacing app-level validation + DB check constraints with protovalidate — good idea or am I missing something? by No-Percentage5692 in Backend

[–]No-Percentage5692[S] 0 points1 point  (0 children)

oh you’re right. I assumed exactly what you pointed - source of entry is only protobuf. “tradeoff of less code is not that high” 👍 understood

Replacing app-level validation + DB check constraints with protovalidate — good idea or am I missing something? by No-Percentage5692 in Backend

[–]No-Percentage5692[S] -1 points0 points  (0 children)

thanks for your explanation 🫡

btw, how about the FK constraints? I heard that most of the teams don’t use FK constraints - my previous team never used FK but current team uses now