Skip to content

Conversation

Raezil
Copy link
Contributor

@Raezil Raezil commented Sep 7, 2025

Summary by cubic

Filters GraphQL tool discovery by provider OperationType and optional OperationName to register only matching fields. Prevents duplicate tools across query, mutation, and subscription.

  • Bug Fixes
    • Only include fields when OperationType matches; honor OperationName to target a single field.
    • Added tests validating query-only and subscription-only registration.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@Raezil Raezil changed the title Filter GraphQL tool discovery by provider type Fix Graphql tool discovery Sep 7, 2025
@Raezil Raezil merged commit 37f8310 into main Sep 7, 2025
2 checks passed
@Raezil Raezil linked an issue Sep 7, 2025 that may be closed by this pull request
@Raezil Raezil deleted the codex/fix-tools-discovery-for-graphql branch October 8, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Graphql Tool Discovery

1 participant