graphql-python / graphene-gae

GraphQL Support for Google AppEngine [DEPRECATED - Looking for maintainers]

Home Page:http://docs.graphene-python.org/projects/gae/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PolyModel

Emsu opened this issue · comments

PolyModels current don't work because the type check in complete_object_value in the graphql library.

I know your busy @ekampf but if you could give me some hints to where I would fix the type checking error that currently occurs that would be great.

Currently, I can hack it by making the graphql package ndb aware. My current lead is that somewhere I need to edit how the is_type_of function is passed to graphql so that it recognizes that child classes are the same as parent classes or at least that child classes are valid instances of the parent class.

Figured it out and opened a pull request here #35

Hey @Emsu thanks for the PR! merged...