Skip to content

Running pnpm graffle --schema https://countries.trevorblades.com/graphql gives errors #1380

@jcheese1

Description

@jcheese1
pnpm graffle --schema https://countries.trevorblades.com/graphql
/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/helpers/zod.js:27
        throw new Error(`Unsupported zod type: ${zodTypeScalar._def.typeName}`);
              ^

Error: Unsupported zod type: undefined
    at analyzeZodTypeScalar (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/helpers/zod.js:27:15)
    at analyzeZodType (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/parameterTypes/basic.js:35:35)
    at processBasic (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/parameterTypes/basic.js:8:26)
    at Object.handler (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/process.js:17:24)
    at Proxy.execute (/node_modules/.pnpm/alge@0.8.1/node_modules/alge/build/esm/match.js:35:36)
    at /node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/process.js:20:10
    at Array.flatMap (<anonymous>)
    at Module.process (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/ParameterSpec/processor/process.js:16:52)
    at parse (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/parse/parse.js:24:30)
    at Object.parse (/node_modules/.pnpm/@molt+command@0.9.0/node_modules/@molt/command/build/esm/Builder/root/constructor.js:58:20)

Node.js v22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions