AbsBox icon indicating copy to clipboard operation
AbsBox copied to clipboard

RateLike /Boolean/ BalanceLike formulas are easily outdated

Open yellowbean opened this issue 2 years ago • 2 comments

https://github.com/yellowbean/AbsBox/blob/10d7eb755b4c5d682ddc0d27270e97aa514e97bb/absbox/local/base.py#L82

it's hardcoded, and require double maintain if there is a new int rate bool type formula were included.

There should be a solution to fix it once for all.

yellowbean avatar Mar 14 '24 13:03 yellowbean

on solution is using https://github.com/yellowbean/AbsBox/issues/60 to write all int/rate/bool type formula in the regression

yellowbean avatar Apr 14 '24 10:04 yellowbean

The other solution is utilizing the existing swagger.json file and test it against the Haskell code

yellowbean avatar Aug 19 '24 02:08 yellowbean

now ,I'm merging int balance rate type query into a single function ,down the road, no more separation of query type

yellowbean avatar Nov 25 '24 11:11 yellowbean