Hacker News new | past | comments | ask | show | jobs | submit login

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.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: