Page MenuHomePhorge

Conduit transaction.search: Missing "Constraint" section in the documentation
Open, NormalPublic

Description

I noticed that in the transaction.search the Constraint documentation is not displayed in the left menu bar:

https://we.phorge.it/conduit/method/transaction.search/

Instead, badge.search has that:

https://we.phorge.it/conduit/method/badge.search/

Maybe it's a feature, but I don't get it.

Event Timeline

avivey triaged this task as Normal priority.Feb 17 2023, 08:29
avivey subscribed.

Looks like that's because PhabricatorBadgesSearchConduitAPIMethod extends PhabricatorSearchEngineAPIMethod, and TransactionSearchConduitAPIMethod extends ConduitAPIMethod directly...

This is probably not so simple. Doing that change causes this problem:

>>> UNRECOVERABLE FATAL ERROR <<<

Cannot override final method PhabricatorSearchEngineAPIMethod::defineParamTypes()

/var/www/phorge/src/applications/transactions/conduit/TransactionSearchConduitAPIMethod.php:86


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻