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

At <dayjob> we use flow types and graphql, so like OP our frontend will fail to compile if we make a breaking change. To assist with the backward-compatible-during-deploy issue, we additionally have a teensy bit of tooling that comments on our PRs to indicate dangerous API changes.

It's not perfect (I've ignored the comments before, thinking I knew better... I didn't), but it seems to help.

It wouldn't be difficult to make it more sophisticated, and then completely block PRs it knew weren't backward compatible, but we haven't seen a strong need to do that yet.



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

Search: