镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Allow --config with --client-id on app deploy and dev - #8735

Open
isaacroldan wants to merge 4 commits into
mainfrom
allow-config-with-client-id-in-deploy
Open

isaacroldan wants to merge 4 commits into
mainfrom
allow-config-with-client-id-in-deploy

Conversation

@isaacroldan

@isaacroldan isaacroldan commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

app deploy and app dev reject --config with --client-id, so users must first change the default configuration to use an existing TOML with another app.

WHAT is this pull request doing?

Allow app deploy, app dev, and app dev clean to use the selected TOML with the requested client ID. Keep an explicit client ID through startup, extension imports, and file-watcher reloads. When no client ID is specified, reloads continue to read it from the TOML.

Add tests for flag validation and real TOML loading, including function manifests, target app settings, config edits, and unchanged source client IDs. Refresh the command manifest, README, and Shopify docs.

How to manually test your changes?

shopify app deploy --config prod --client-id <target-client-id> --no-release
shopify app deploy --config prod --client-id <target-client-id>
shopify app dev --config prod --client-id <target-client-id> --store <dev-store>.myshopify.com --no-update
shopify app dev clean --config prod --client-id <target-client-id> --store <dev-store>.myshopify.com

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

Deploy the configuration selected by --config to the app identified by
--client-id, even if another TOML is linked to that client ID. This matches
what already happens with `app config use <name>` followed by
`app deploy --client-id <id>`.

Requested by Isaac Roldan <isaac.roldan@shopify.com>

Co-authored-by: Isaac Roldan <isaac.roldan@shopify.com>
@isaacroldan
isaacroldan requested review from a team as code owners October 2, 2026 08:56
@github-actions github-actions Bot added the Area: @shopify/app @shopify/app package issues label Oct 2, 2026
@isaacroldan isaacroldan changed the title Allow --config with --client-id on app deploy Allow --config with --client-id on app deploy and dev Oct 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants