Add defaultLocationConflictStrategy config option for catalog locations

Adds a catalog config option to set the default conflict strategy when
registering locations, so adopters can default to 'refresh' instead of
'reject' without requiring each caller to specify it explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-10 14:12:20 +01:00
parent d3796b6165
commit dfdb8e3a73
7 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
'@backstage/plugin-catalog-backend': minor
---
Add an `onConflict` option to location creation, that enables it to perform refreshes instead of throwing conflict errors when there's a pre-existing location already
Add an `onConflict` option to location creation that can refresh an existing location instead of throwing a conflict error.