1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +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 refactor: read model for change request access checking (#3380) 2023-03-24 14:31:43 +01:00
account-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
addon-store.ts OpenAPI: addon operations (#3421) 2023-04-18 10:50:34 +00:00
api-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
client-applications-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
client-instance-store.ts Remove timeout from store (#3018) 2023-01-30 12:01:44 +01:00
client-metrics-store-v2.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
context-field-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
db-pool.ts feat: add "application_name" as an optional DB option #1170 (#1478) 2022-04-07 20:55:56 +02:00
db.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
environment-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
event-store.test.ts feat: add event search endpoint (#1893) 2022-08-09 16:14:50 +02:00
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 feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
favorite-projects-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
feature-environment-store.ts export queries use order by feature name (#3051) 2023-02-06 15:46:25 +01:00
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 fix: exclude favorites from the client api (#3276) 2023-03-08 14:56:51 +01:00
feature-toggle-store.ts feat: save memory on reading stats (#3472) 2023-04-06 15:34:08 +02:00
feature-type-store.ts feat: Create project service di (#3326) 2023-03-15 16:46:41 +01:00
group-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
index.ts chore: add a new project column to segments table (#3263) 2023-03-07 14:56:20 +01:00
pat-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
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 feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
role-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
segment-store.ts fix: assume undefined instead of null on segment project (#3304) 2023-03-13 10:25:48 +00:00
session-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
setting-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
tag-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
tag-type-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
transaction.ts feat: oss import (#3123) 2023-02-16 08:08:51 +01:00
user-feedback-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-splash-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00