Skip to content

Rust gateway plugin support - #8329

Open
jdolle wants to merge 2 commits into
mainfrom
rust-gateway-plugin-support
Open

Rust gateway plugin support#8329
jdolle wants to merge 2 commits into
mainfrom
rust-gateway-plugin-support

Conversation

@jdolle

@jdolle jdolle commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Background

Hive gateway using the rust query planner does not populate the path in the execution request info object if it's the root ("query"). Previously, the usage client would default to [], but an empty array fails validation in usage service.

Description

This change corrects the default value for the usage client and gateway plugin "paths" field, and better supports named root types.

I also added a test showing support for named root types, and run tests for both the js gateway and js gateway with the rust query planner.

There are two tests that fail due to minor discrepancies in the engine at this time. These are flagged with skipIf conditions until the cause is addressed.

Checklist

  • Testing

@jdolle jdolle self-assigned this Aug 5, 2026
@theguild-bot

theguild-bot commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-hive/apollo 0.48.4-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
@graphql-hive/cli 0.61.4-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
@graphql-hive/core 0.22.2-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
@graphql-hive/envelop 0.40.9-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-plugin-console-sdk 0.1.2-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
@graphql-hive/yoga 0.49.2-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎
hive 11.11.0-alpha-20260806004131-ced9556b5cde468c7bb01d07ac79688059522e5f npm ↗︎ unpkg ↗︎

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tags: 11.11.0-alpha-ced9556, ced9556, ced9556b5cde468c7bb01d07ac79688059522e5f

improve test to not depend on jsobject order
@jdolle
jdolle force-pushed the rust-gateway-plugin-support branch from 82d2383 to ced9556 Compare August 6, 2026 00:40
@jdolle
jdolle requested a review from n1ru4l August 6, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants