flask-graphql
flask-graphql copied to clipboard
Adds GraphQL support to your Flask application.
Readded the context option which was removed in d728f80. With this change, `GraphQLView` behaves as described in the documentation. From the README: * `context`: A value to pass as the...
Is there any plan to implement this / are you accepting pull requests?
No updates recently?
Clarify and shorten GraphQLView.should_display_graphiql() by writing it as a conjunction of criteria.
Detailed explanation of the problem is written here: https://stackoverflow.com/questions/57557517/how-to-get-json-response-in-flask-graphql-response `graphql` returns JSON as a string. Is it possible to return JSON object instead of a string?
Requests with ``multipart/form-data`` were handled incorrectly, preventing file upload functionality from working. I fixed GraphQLView to support file uploads [according to the specification](https://github.com/jaydenseric/graphql-multipart-request-spec). This is currently used in production to...
I am making an extension library [flask-graphql-auth](https://github.com/devArtoria/flask-graphql-auth). and error handler by using flask's app.errorhandler is being planed for the 1.0 release. I checked that if my library caused an exception...
Hello, I've been doing some flask and graphql practices. I made mutations, the proof of concept went well until I had to validate the data entry by the user. Usually...
It appears I can only bind a single SQLAlchemy session to an app at once via the context variable: from flask import Flask from flask_graphql import GraphQLView from sqlalchemy import...
Hard to demonstrate, but with version 1.4 I set a conect value as a dictionary and this gets past to my resolver (graphene 2.1.1) but with rc2 the context passed...