Closed Trupal00p closed 8 years ago
Figured it out for those with the same question. You need to define the the model type that the keyproperty is linking to so that graphene_gae can do its magic. So, for my example above I just needed to add the below and all started working.
class CEUserType(NdbObjectType):
class Meta:
model = datamodel.CEUser
Yep :)
Hi all, this library has a lot of promise nice work so far!
I've noticed that my KeyProperties aren't showing up when I inspect the resulting schema. Maybe there's something that I'm missing that to-be-completed docs would reveal?
the code I'm testing the library with:
Model Definition:
Type Definition:
Introspection result: