mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
This trims role names before validation and subsequent validation. This fixes a bug where you could have names that were empty or that were duplicates of other names, but with leading or trailing spaces. (They display the same in the UI). This does not modify how we handle descriptions in the API. While the UI form requires you to enter a description, the API does not. As such, we can't make that required now without it being a breaking change. |
||
---|---|---|
.. | ||
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 |