Skip to content

[codex] Add indexer query shape tests#367

Open
MyouzzZ wants to merge 1 commit into
SO4-Markets:mainfrom
MyouzzZ:codex/indexer-query-shape-338
Open

[codex] Add indexer query shape tests#367
MyouzzZ wants to merge 1 commit into
SO4-Markets:mainfrom
MyouzzZ:codex/indexer-query-shape-338

Conversation

@MyouzzZ

@MyouzzZ MyouzzZ commented Jun 30, 2026

Copy link
Copy Markdown

Summary

  • Add fixture-backed resolver shape tests for the market, order, and position GraphQL envelopes consumed by the web app.
  • Assert the indexer schema and frontend query documents keep the selected field names aligned.
  • Make the indexer test script run its existing build/codegen step first, and add the direct tslib devDependency required by importHelpers during SubQuery builds.

Fixes #338

Validation

  • PASS: npm exec --yes bun -- test apps/s03-indexer/tests/queryResolverShape.test.ts
  • PARTIAL: npm exec --yes bun -- run --cwd apps/s03-indexer test now runs codegen/build and the new query-shape tests pass; the command still exits non-zero on pre-existing failures in mappingHandlers.test.ts (indexes token mint event with zero-address from) and local sync-contracts.test.ts child-process bun resolution when Bun is invoked through npm exec.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

@MyouzzZ is attempting to deploy a commit to the Ijai's projects 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indexer: GraphQL query resolver shape

1 participant