Skip to content

Conversation

@fto-dev
Copy link
Contributor

@fto-dev fto-dev commented Feb 26, 2025

Issue
The server throws an error because the root variable is not defined. The correct variable name should be rootValue, which was previously declared in the code.

Fix
Updated rootValue in the createHandler function to use the correct variable name.

Changes
Replaced root with rootValue in the GraphQL handler configuration. This fix ensures that the GraphQL API properly resolves queries.

Issue
The server throws an error because the root variable is not defined. The correct variable name should be rootValue, which was previously declared in the code.

Fix
Updated rootValue in the createHandler function to use the correct variable name.

Changes
Replaced root with rootValue in the GraphQL handler configuration.
This fix ensures that the GraphQL API properly resolves queries.
@fto-dev fto-dev requested a review from a team as a code owner February 26, 2025 05:07
@linux-foundation-easycla
Copy link

CLA Not Signed

@fto-dev fto-dev closed this by deleting the head repository Feb 26, 2025
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.

1 participant