1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib/util
nya1 fb711b4d4a
fix: when payload type is 'json' validate value on toggle variable validation (#1704)
* fix: when payload type is 'json' validate value on toggle variable validation

* test: add missing feature toggle creation with variant type json

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896476042

* refractor: remove verbose comment on validateJsonString

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896482210

* test: add missing feature toggle creation with variant type string

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896476042

* refractor: move variant value joi validation

Ref https://github.com/Unleash/unleash/pull/1704#discussion_r896478563
2022-06-14 13:08:38 +02:00
..
validators refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
anonymise.ts fix: add flag to annomise event log 2022-05-30 21:01:46 +02:00
arraysHaveSameItems.test.ts fix: require equal environments when moving toggles (#1595) 2022-05-18 11:07:01 +02:00
arraysHaveSameItems.ts fix: require equal environments when moving toggles (#1595) 2022-05-18 11:07:01 +02:00
collect-ids.ts feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
constants.ts fix: Issue #1444 - API import with drop=true deletes existing client keys (#1668) 2022-06-09 15:56:13 +01:00
env.test.ts refactor: move segment limits to env vars (#1642) 2022-06-02 10:44:45 +02:00
env.ts refactor: move segment limits to env vars (#1642) 2022-06-02 10:44:45 +02:00
extract-user.ts fix: convert xtract-user.js to typescript 2021-09-14 19:58:48 +02:00
format-base-uri.test.ts Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
format-base-uri.ts Feat/format base path (#828) 2021-05-03 12:28:59 +02:00
graceful-shutdown.ts Feat/api key scoping (#941) 2021-09-15 20:28:10 +02:00
is-email.ts feat: Add username/password authentication (#777) 2021-04-09 13:46:53 +02:00
load-index-html.ts task: Use make-fetch-happen (#1500) 2022-04-28 10:57:52 +02:00
map-values.test.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
map-values.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
metrics-helper.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
omit-keys.test.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
omit-keys.ts refactor: add soft response schema validation (#1657) 2022-06-08 08:01:14 +02:00
random-id.ts feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
rewriteHTML.test.ts refactor: use static as the asset dir name (#1586) 2022-05-10 15:47:54 +02:00
rewriteHTML.ts refactor: use static as the asset dir name (#1586) 2022-05-10 15:47:54 +02:00
segments.ts refactor: move segment limits to env vars (#1642) 2022-06-02 10:44:45 +02:00
semver.test.ts refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
semver.ts refactor: avoid inlining segments for supported clients (#1640) 2022-06-02 14:07:46 +02:00
snakeCase.test.ts feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
snakeCase.ts feat: Move environments to enterprise (#935) 2021-09-13 15:57:38 +02:00
timer.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
timer.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
validateJsonString.test.ts fix: when payload type is 'json' validate value on toggle variable validation (#1704) 2022-06-14 13:08:38 +02:00
validateJsonString.ts fix: when payload type is 'json' validate value on toggle variable validation (#1704) 2022-06-14 13:08:38 +02:00
version.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00