Typegen generation error

Topic summary

A developer encountered an error while attempting to generate typegen for run.graphql when working with discount allocator functions. The user shared screenshots showing:

  • The run.graphql file structure
  • The specific error message that occurred during typegen generation

No solutions or responses have been provided yet. The issue remains unresolved and awaits community input or support regarding the typegen generation failure in the context of Shopify Functions.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

I am trying to use discount allocator functions.
When i am trying to generate typegen of run.graphql, it throws an error.
I am uploading the screenshots as well.