Skip to content

graphql, graph: Error on _logs query when log store disabled#6637

Open
fordN wants to merge 1 commit into
masterfrom
ford/logs-queries-error-if-off
Open

graphql, graph: Error on _logs query when log store disabled#6637
fordN wants to merge 1 commit into
masterfrom
ford/logs-queries-error-if-off

Conversation

@fordN

@fordN fordN commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Previously, querying _logs against an indexer with no log store configured returned empty results, indistinguishable from a subgraph that produced no logs; return a NotSupported error instead so clients can tell the feature is not enabled.

Also remove the unused LogStoreError::Unavailable variant.

Resolves #6626

Previously, querying `_logs` against an indexer with no log store
configured returned empty results, indistinguishable from a subgraph
that produced no logs. Return a NotSupported error instead so clients
can tell the feature is not enabled.

Also remove the unused LogStoreError::Unavailable variant.
@fordN fordN self-assigned this Jun 16, 2026

@lutter lutter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good.

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.

[Feature] Logs-via-graphql: Return an error when feature not supported

2 participants