Skip to content

Fix custom scalar array encoding#426

Open
KingParmenides wants to merge 1 commit into
graphql-editor:masterfrom
KingParmenides:fix-346-scalar-array-encoding
Open

Fix custom scalar array encoding#426
KingParmenides wants to merge 1 commit into
graphql-editor:masterfrom
KingParmenides:fix-346-scalar-array-encoding

Conversation

@KingParmenides
Copy link
Copy Markdown

Summary

  • preserve list wrappers in generated AllTypesProps entries for non-built-in argument types
  • keep scalar list markers during path resolution so custom scalar arrays are encoded element-by-element
  • add regression coverage for non-empty and empty custom scalar lists

Tests

  • npx jest packages/graphql-zeus-core/TreeToTS/functions/new/buildQuery.spec.ts packages/graphql-zeus-core/TreeToTS/functions/new/resolvePath.spec.ts packages/graphql-zeus-core/TreeToTS/templates/returnedPropTypes/index.spec.ts
  • npm test -- --runInBand
  • npm run lint passes TypeScript, then fails on an existing unrelated @typescript-eslint/no-empty-function lint error in packages/graphql-zeus/index.ts:22

Fixes #346
/claim #346

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

@KingParmenides is attempting to deploy a commit to the aexol-studio Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error encoding arrays of custom scalars

1 participant