Closed steinnat closed 4 years ago
I know that with graphene Django you can use filter fields but, what about if were using NDBObjectType is there a way to still use filters??
class SearchPropertyType(NdbObjectType): class Meta: model = SearchPropertyModel fields = ["points"] interfaces = (relay.Node,)
class SearchPropertyType(NdbObjectType):
class Meta:
model = SearchPropertyModel
fields = ["points"]
interfaces = (relay.Node,)
exclude_fields = [] works.
I know that with graphene Django you can use filter fields but, what about if were using NDBObjectType is there a way to still use filters??
class SearchPropertyType(NdbObjectType):
class Meta:
model = SearchPropertyModel
fields = ["points"]
interfaces = (relay.Node,)