Questions tagged [flask-graphql]

Items related to the package flask-graphql

Items related to the package flask-graphql at https://github.com/graphql-python/flask-graphql

18 questions
0
votes
1 answer

graphene schema for query input is list of dictionary / object

My query input is something like: [{name: "joe", age: 20}, {name: "bob", age: 30}] Then I use a resolver to return something similar like: [{name: "joe", age: 20}, {name: "bob", age: 30}, {name: "jane", age: 21}] Suppose I don't change the…
kww
  • 411
  • 4
  • 12
  • 21
0
votes
1 answer

Returning a list of Result fields using Flask-graphql

So let's say, I have defined a field, project using Graphene.Field in my query. Now depending on the incoming query, the result may be a single project object or a list of proejct objects: class Query(graphene.ObjectType): project =…
user59634
-1
votes
1 answer

Setting up Flask with react-starter-kit

This questions is pretty specific to the react-starter-kit, though, someone else may be able to help here on the internets. I am trying to use the react-starter-kit with a flask application I am developing. I chose this yeoman generator as it had a…
creedjarrett
  • 158
  • 1
  • 1
  • 8
1
2