Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass HTTP Request Context Object to the GraphQL Context #2437

Closed
ThisaruGuruge opened this issue Nov 29, 2021 · 0 comments · Fixed by ballerina-platform/module-ballerina-graphql#507
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Points/0.25 Type/Task

Comments

@ThisaruGuruge
Copy link
Member

Description:
When the GraphQL context was implemented, the http:RequestContext object was not properly implemented. Therefore, we went ahead with passing a dummy object to the graphql:Context object. Since now the http:RequestContext is implemented, we have to pass the proper object to the GraphQL context init function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Points/0.25 Type/Task
Projects
None yet
1 participant