How it worksAnchor link to section titled "How it works"
Javy is part build tool, and part runtime engine:
The library includes a TypeScript type generator that inspects your GraphQL query to allow your IDE (Integrated Development Environment) to provide autocomplete suggestions.
||Compiles the function in your current directory to WASM for testing|
||Runs the function from your current directory for testing|
Using Javy directlyAnchor link to section titled "Using Javy directly"
If you want more control over your function, then you can also use Javy directly with no project boilerplate. The following example shows a minimal Shopify Function that only uses the Javy runtime library:
Sample appsAnchor link to section titled "Sample apps"
Use Shopify Functions to hide a payment option offered to customers at checkout.
Use Shopify Functions to rename a delivery option offered to customers at checkout.