Skip to content

Migrate to graphql builder 2.x - #169

Open
chrsmutti wants to merge 2 commits into
masterfrom
chore/update-graphql-2.x
Open

Migrate to graphql builder 2.x#169
chrsmutti wants to merge 2 commits into
masterfrom
chore/update-graphql-2.x

Conversation

@chrsmutti

@chrsmutti chrsmutti commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the graphql builder from 1.x to 2.x in manifest.json, per the 2025-09-30 release notes. The 1.x builder deprecated 2026-01-07, after which link/publish stop working on it.
  • Adds the now-mandatory @auth(scope: PUBLIC) directive to all 16 Query fields in graphql/schema.graphql. Every field was already publicly accessible with no License Manager gating, so this is a no-op for consumers — purely satisfying the builder's new validation requirement.

Test plan

  • make lint passes (no-op for this schema-only repo)
  • vtex link against a workspace to confirm the schema builds cleanly under the 2.x builder (not run here — no workspace-changing commands were executed as part of this PR)
  • Confirm vtex.search-resolver still resolves these queries correctly against the updated schema

🤖 Generated with Claude Code

Adds the now-mandatory @auth(scope: PUBLIC) directive to every Query
field and bumps the graphql builder to 2.x in manifest.json. All
fields were already publicly accessible with no License Manager
gating, so this is a no-op for consumers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@chrsmutti
chrsmutti requested a review from a team as a code owner July 27, 2026 16:51
@vtex-io-ci-cd

vtex-io-ci-cd Bot commented Jul 27, 2026

Copy link
Copy Markdown

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot

vtex-io-docs-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

Beep boop 🤖

I noticed you didn't make any changes at the docs/ folder

  • There's nothing new to document 🤔
  • I'll do it later 😞

In order to keep track, I'll create an issue if you decide now is not a good time

  • I just updated 🎉🎉

@salesfelipe salesfelipe added the enhancement New feature or request label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants