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

Typo in documentation #1052

Closed
isik-kaplan opened this issue Oct 29, 2020 · 2 comments
Closed

Typo in documentation #1052

isik-kaplan opened this issue Oct 29, 2020 · 2 comments

Comments

@isik-kaplan
Copy link

import graphene
from .models import Question
from .types import QuestionType

class Query(graphene.ObjectType):
    foo = graphene.List(QuestionType)

    def resolve_foo(root, info):
        id = kwargs.get("id")
        return Question.objects.get(id)

Missing kwargs in function definition and id kwarg in return statement. I think there are couple more small typos like this in the documentation, I'll add them to this issue when I stumble upon them.

@rganeyev
Copy link
Contributor

Fixed in #1078, please review

@rganeyev
Copy link
Contributor

thanks for merging #1078, feel free to close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants