fix: endpoint pickers only for saved-object sources the host registers #13

Merged
KofTwentyTwo merged 1 commits from fix/optional-saved-object-pickers into develop 2026-10-14 21:56:14 +00:00
KofTwentyTwo commented 2026-10-14 21:45:10 +00:00 (Migrated from github.com)

Found while adopting 0.1.0-RC.1 in kof22 (KofTwentyTwo/Website-Backend#188). kof22 doesn't register the savedView and savedReport possible-value sources, so instance validation failed. The cause is that file_gateway_alias.savedViewId and savedReportId named those sources, and the table's bulkEdit process inherited them.

Fix: the producer now drops the picker, and its contingent ${input.tableName} filter, for savedView, savedReport and savedBulkLoadProfile whenever the host hasn't registered that source. The field stays a plain id field. The README says to register those core providers before the gateway producer to get the pickers.

Tests: 100 pass, with a new test for the drop-or-keep behaviour. The contingent-picker tests now register their source first, as a host would.

For 0.1.0-RC.2.

🤖 Generated with Claude Code

Found while adopting 0.1.0-RC.1 in kof22 (KofTwentyTwo/Website-Backend#188). kof22 doesn't register the `savedView` and `savedReport` possible-value sources, so instance validation failed. The cause is that `file_gateway_alias.savedViewId` and `savedReportId` named those sources, and the table's `bulkEdit` process inherited them. **Fix:** the producer now drops the picker, and its contingent `${input.tableName}` filter, for `savedView`, `savedReport` and `savedBulkLoadProfile` whenever the host hasn't registered that source. The field stays a plain id field. The README says to register those core providers before the gateway producer to get the pickers. **Tests:** 100 pass, with a new test for the drop-or-keep behaviour. The contingent-picker tests now register their source first, as a host would. For 0.1.0-RC.2. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.