Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if you don't update the code in intermediate layers, some automated validation based on enum values will fail, which also drops the request


You only need to update the parser and the places that are using it. Depending on language, the parser might update itself (Scala generally works this way). Everyone else has an already parsed value that they're just passing around. That's the point: only run your validation at the outer layer of your application.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: