1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/db
Christopher Kolstad 4f7fd46623
fix: return 404 when gettings tags for a non existing feature (#3560)
From the discussion here
https://github.com/Unleash/unleash/pull/3496#discussion_r1163745860

This PR checks the existence of the feature before trying to get tags
for the feature. Doing so by stealing the exists method from the feature
store, since that's what we need to know exists, and avoiding having the
feature store as a dependency to the featureTagStore seemed reasonable.
2023-04-19 14:10:13 +02:00
..
access-store.ts
account-store.ts
addon-store.ts OpenAPI: addon operations (#3421) 2023-04-18 10:50:34 +00:00
api-token-store.ts
client-applications-store.ts
client-instance-store.ts
client-metrics-store-v2.ts
context-field-store.ts
db-pool.ts
db.ts
environment-store.ts
event-store.test.ts
event-store.ts fix: count events instead of loading them in memory (#3382) 2023-03-27 11:24:01 +02:00
favorite-features-store.ts
favorite-projects-store.ts
feature-environment-store.ts
feature-strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
feature-tag-store.ts fix: return 404 when gettings tags for a non existing feature (#3560) 2023-04-19 14:10:13 +02:00
feature-toggle-client-store.ts
feature-toggle-store.ts feat: save memory on reading stats (#3472) 2023-04-06 15:34:08 +02:00
feature-type-store.ts
group-store.ts
index.ts
pat-store.ts
project-stats-store.ts refactor: switching to new stats calculations (#3477) 2023-04-10 09:50:39 +02:00
project-store.ts chore: Backport 4.22.3 (#3508) 2023-04-12 16:22:13 +03:00
public-signup-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
reset-token-store.ts
role-store.ts
segment-store.ts
session-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
setting-store.ts
strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
tag-store.ts
tag-type-store.ts
transaction.ts feat: oss import (#3123) 2023-02-16 08:08:51 +01:00
user-feedback-store.ts
user-splash-store.ts
user-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00