This was tricky. I reverted the previous fix, and created this new fix with tests:
https://github.com/discourse/discourse/commit/74f2d480186b6cd87a6032ccfadc5721a76eb4b3
I think this should solve all issues related to enums.
This was tricky. I reverted the previous fix, and created this new fix with tests:
https://github.com/discourse/discourse/commit/74f2d480186b6cd87a6032ccfadc5721a76eb4b3
I think this should solve all issues related to enums.