[revived] Add missing field ('allow_curation_rewards' and 'allow_votes') in post/comment API response
Those flags were never part of bridge nor condenser representation of posts (at least as far as I know, supported with
.orig
patterns we have from old Hivemind), they were part of database_api posts and those parts of condenser api that had dual implementation (one in old Hivemind with condenser post representation and the one that was actually used from fat node with database_api post representation - new Hivemind mimics fat node here, f.e.condenser_api.get_content
).The values of those flags seem to be available for Hivemind, however, since they are missing from
bridge_api_post
that is used pretty much everywhere, that enhancement requires extending most of post related queries. I assume that the impact on performance would be minuscule, but it is still a lot of changes, so I'd like to get some more opinions on the matter (=> @dan @bwrona @gandalf ).