vaidikkp/zamboni — comment on commit b05311895b068382543646bc9732f4ed72240ae5
File:  line 0
By vaidikkp:

This solution is on the lines of your suggestion.

Also, I have also done one of the TODOs mentioned in the code: https://github.com/vaidikkp/zamboni/commit/b05311895b068382543646bc9732f4ed72240ae5#L2L479

If this looks fine, I will go ahead and write tests.