Skip to content

fix(settings): preserve Apple additional client IDs state#340

Closed
pjpjq wants to merge 1 commit into
supabase:mainfrom
pjpjq:codex/fix-apple-additional-client-ids-drift
Closed

fix(settings): preserve Apple additional client IDs state#340
pjpjq wants to merge 1 commit into
supabase:mainfrom
pjpjq:codex/fix-apple-additional-client-ids-drift

Conversation

@pjpjq

@pjpjq pjpjq commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve Apple auth client ID fields when external_apple_additional_client_ids is configured
  • avoid API read/write responses that fold additional Apple IDs into external_apple_client_id from changing Terraform state after apply
  • add a regression test for the merged API response shape

Fixes #336

Tests

  • go test ./internal/provider -run 'TestAccSettingsResource_AppleAdditionalClientIds|TestParseConfigNullablePreservesUserValue' -count=1
  • go test ./...
  • test -z "$(gofmt -l internal/provider/settings_resource.go internal/provider/settings_resource_test.go)"
  • git diff --check

@pjpjq pjpjq closed this Jul 7, 2026
@pjpjq pjpjq deleted the codex/fix-apple-additional-client-ids-drift branch July 7, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.auth inconsistent values error when using external_apple_additional_client_ids

1 participant