Page MenuHomePhabricator

refactor: Run type check against RPCArgs (1/2)
ClosedPublic

Authored by Fabien on May 30 2024, 12:05.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC1af2ca22959f: refactor: Run type check against RPCArgs (1/2)
Summary
It seems brittle to require RPCTypeCheck being called inside the code logic. Without compile-time enforcement this will lead to places where it is forgotten and thus to inconsistencies and bugs. Fix this by removing the calls to RPCTypeCheck and doing the check internally.

Backport of core#26039.

Depends on D16253.

Test Plan
ninja all check-all