Skip to content

Prototype authenticated GraphQL execution - #8560

Draft
rmcnews wants to merge 11 commits into
Shopify:mainfrom
rmcnews:rmc/dev-platform-log-query-cli-prototype
Draft

rmcnews wants to merge 11 commits into
Shopify:mainfrom
rmcnews:rmc/dev-platform-log-query-cli-prototype

Conversation

@rmcnews

@rmcnews rmcnews commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Prototype authenticated GraphQL execution in the CLI. Not for release.

WHAT is this pull request doing?

Replaces the prototype app logs query flags with hidden, local-only dev execute: pass a GraphQL document inline, from a file, or via stdin, with optional variables and operation name. Reuses authentication helpers and prints the complete JSON response, preserving errors and partial data with a nonzero exit status. Existing app logs tailing is unchanged.

How to manually test your changes?

With a compatible local prototype API:

export SHOPIFY_APP_LOG_QUERY_PROTOTYPE=1 SHOPIFY_SERVICE_ENV=local
node packages/cli/bin/dev.js dev execute --query '{ __schema { queryType { name } } }'
node packages/cli/bin/dev.js dev execute --query-file query.graphql --variable-file variables.json

Co-authored by AI (GPT-5)

Co-authored by AI (GPT-5)
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (unknown)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (unknown)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
Co-authored by AI (GPT-5)

Assisted-By: devx/77cd7a80-dbde-4d20-9b34-75ed3bac34bb
@rmcnews rmcnews changed the title Prototype GraphQL log-query access Prototype authenticated GraphQL execution Sep 16, 2026
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.

1 participant