Tag: graphene-python
-
Graphql: show Mysql DB in using graphql with python
0 I have a mysql table, which i want to represent using graphQL, I have tried something using ariandne, and i am able to get the rows. Now, I want to introduce functionality of where clause as well, One way could be to have a resolver for each column, but that has its limitations, and…
-
graphene graphql dictionary as a type
23 I’m a newbie for the graphene and I’m trying to map the following structure into a Object Type and having no success at all { "details": { "12345": {"txt1": "9", "txt2": "0"}, "76788": {"txt1": "6", "txt2": "7"}, } } Any guidance is highly appreciated Thanks python graphql graphene-python Share Improve this question Follow edited…
-
How can I handle Big Int with GraphQL?
0 I’ve an Django Model field with BigInt type, How can i map this in graphql schema, is there anything available like BigInt like Int type in Graphql? I’m using graphene library FYI My Schema: type MyModelObject { complaintId: BigInt createdBy: User! complaintNumber: String! } I got below warning/error in IDE The field type ‘BigInt’…
-
Django – working example of graphene aiodataloader
0 I’ve been looking into using a DataLoader in Django to optimise Graphene resolvers. I have been having trouble finding a working example of this as it requires multi threading. Based on what I can tell, there is no longer a way to specify executors in the latest versions of GraphQL in python. Does anyone…
-
GraphQL circular queries with one to many relationships
1 I’m learning GraphQL by building a simple python application, basically runs nmap scans stores output to a database, and can be queried by a GraphQL API. I seem to be a bit confused on how GraphQL works. I have a few tables that are one-to-many relationships: user has many scans, scans have results, results…