Change follow_operation schema to use type BooleanLike #301

Merged
floatingghost merged 3 commits from ave/akkoma:fix-follow-schema into develop 2022-11-24 11:27:01 +00:00
Contributor

Changes follow_operation schema to use BooleanLike instead of :boolean so that strings like "0" and "1" (used by mastodon.py) can be accepted. Rest of file uses the same. For more info please see https://git.pleroma.social/pleroma/pleroma/-/issues/2999

(I'm also sending this here as I'm not hopeful about upstream not ignoring it)

Changes follow_operation schema to use BooleanLike instead of :boolean so that strings like "0" and "1" (used by mastodon.py) can be accepted. Rest of file uses the same. For more info please see https://git.pleroma.social/pleroma/pleroma/-/issues/2999 (I'm also sending this here as I'm not hopeful about upstream not ignoring it)

this looks good! whilst honestly i prefer true/false semantically, we should absolutely match masto's behaviour here

i'll wait for CI to run, assuming all passes i'm happy to merge this

this looks good! whilst honestly i prefer `true/false` semantically, we should absolutely match masto's behaviour here i'll wait for CI to run, assuming all passes i'm happy to merge this

oh, but it would be great if you could add a little line in CHANGELOG mentioning it

oh, but it would be great if you could add a little line in CHANGELOG mentioning it
Author
Contributor

Updated changelog, used Changed (also the last release seems to have incorrectly called it Changes, so I corrected that too-- I hope that's okay ^^).

If you'd like me to move it to Fixed instead, I can also do that.

Updated changelog, used `Changed` (also the last release seems to have incorrectly called it `Changes`, so I corrected that too-- I hope that's okay ^^). If you'd like me to move it to `Fixed` instead, I can also do that.
ave force-pushed fix-follow-schema from becdd6ceae to 5bdc6290f4 2022-11-24 11:22:08 +00:00 Compare

wonderful, CI is all passing - thanks for fixing the typo as well

much appreciated!

wonderful, CI is all passing - thanks for fixing the typo as well much appreciated!
floatingghost merged commit 1c4ca20ff7 into develop 2022-11-24 11:27:01 +00:00
floatingghost deleted branch fix-follow-schema 2022-11-24 11:27:01 +00:00
Sign in to join this conversation.
No description provided.