PrepressQu Query

getMagicQueryGraphQL

Topics: Admin Aiml Apps Commerce Costing Devices Files IAM Integrations Jobs Logistics Product Templates Reporting Reports Scripting Surfaces Workflows

Resolves a Magic Query string to the real GraphQL operation and variables it runs, so consumers can graduate from the façade to raw GraphQL. Does not execute.

Returns

MagicQueryOperation!

Arguments

A Magic Query string to resolve, e.g. 'jobs?limit=10'.

Exact field SDL
"""
Resolves a Magic Query string to the real GraphQL operation and variables it runs, so consumers can graduate from the façade to raw GraphQL. Does not execute.
"""
getMagicQueryGraphQL(
  """A Magic Query string to resolve, e.g. 'jobs?limit=10'."""
  query: QueryScalar!
): MagicQueryOperation! @topic(names: [
  "jobs"
  "commerce"
  "logistics"
  "costing"
  "productTemplates"
  "files"
  "devices"
  "aiml"
  "apps"
  "workflows"
  "admin"
  "integrations"
  "surfaces"
  "scripting"
  "reporting"
  "reports"
  "iam"
])

Declared on Query. Access is checked by the platform for each operation.