zitadel/internal/repository/feature
Tim Möhlmann dfcc26de1e
fix: assign instance ID to aggregate ID when converting from v1 to v2 feature (#7505)
* fix: assign instance ID to aggregate ID when converting from v1 to v2 feature

This change fixes a mismatch between v1 and v2 aggregate IDs for instance feature events.
The old v1 used a random aggregate ID, while v2 uses the instance ID as aggregate ID.
The adapter was not correctly mapping, which resulted in the projections.instance_features table being filled with wrong instance IDs.

Closes #7501

* fix unit test
2024-03-05 16:12:49 +01:00
..
feature_v2 feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
aggregate.go feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
eventstore.go fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
feature.go fix: assign instance ID to aggregate ID when converting from v1 to v2 feature (#7505) 2024-03-05 16:12:49 +01:00