mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
29be130757
## About the changes According to our docs, we only support up to 1 decimal place for weights. This is to use integers to represent the percentages (we divide them by 10) and supporting more decimals results in bad maths due to floating point arithmetics. This PRs adds Frontend and Backend validations to enforce this restriction Closes #2222 ## Discussion points Should we reconsider supporting more decimal places, that door remains open, but for now we'll just adhere to our documentation because that change would require some development. |
||
---|---|---|
.. | ||
api-token-schema.test.ts | ||
api-token-schema.ts | ||
constraint-value-types.test.ts | ||
constraint-value-types.ts | ||
feature-schema.test.ts | ||
feature-schema.ts | ||
role-schema.test.ts | ||
role-schema.ts |