Does QueryTrim modify my live store or my code?
No. QueryTrim is purely a read-and-analyze tool. It reads the GraphQL text you paste into it — it never connects to your codebase, never reads your extension files directly, and never modifies anything in your Shopify store or app. It is a static analyzer only.
What is a Shopify Functions GraphQL complexity limit?
Shopify enforces a hard maximum of 30 complexity points on every input.graphql query. Each field in your query costs at least 1 point. List fields (like cart.lines) multiply by the number of items they can return. If your query exceeds 30 points, Shopify will reject your extension at upload time — before it ever runs in production.
Does analysis run on our servers or locally?
The GraphQL analysis (AST parsing, complexity calculation, field traversal) runs entirely inside the Shopify Admin extension — in your browser, on your machine. No query text is sent to any server. The only server calls QueryTrim makes are to check your usage count (for the daily limit) and save a compact result summary (complexity score and risk level — not the query text itself).
What Shopify Function types does QueryTrim support?
QueryTrim analyzes any valid Shopify Functions GraphQL query: Discount Functions, Delivery Customizations, Payment Customizations, Cart Transform Functions, and Validation Functions. If it is a Shopify Function with an input.graphql file, QueryTrim can analyze it.
My analysis shows a warning but the query works fine. Why?
QueryTrim enforces conservative thresholds that match what Shopify documents as "safe under all conditions." A warning means your query is within the hard limit but has little headroom. As your function grows — and as Shopify adds more concurrent functions to a checkout — a query at 27/30 points becomes a 31/30 point query after one new field. Warnings are intentionally proactive, not retroactive.
Is this the same as Shopify's built-in complexity checker?
Shopify's CLI validates complexity at deploy time and shows a pass/fail result. QueryTrim goes further: it tells you which specific fields are causing complexity, explains why each is risky (unbounded lists, deep nesting, Javy overhead), and generates an optimized query for you. QueryTrim is a development-time analysis tool, not a replacement for the CLI.
How does billing work?
Billing is handled entirely by Shopify through their App Pricing system. When you upgrade to Pro, Shopify handles the subscription, invoicing, and payment. QueryTrim never sees your payment information. You can manage or cancel your subscription from the standard Shopify billing page.
Is QueryTrim GDPR compliant?
Yes. QueryTrim is fully GDPR compliant and handles all Shopify Mandatory Privacy Webhooks. We do not store, process, or fetch any customer Personally Identifiable Information (PII) or store data. Our analysis runs on abstract GraphQL text strings.