Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for graphene middleware #1044

Closed
wants to merge 3 commits into from
Closed

Conversation

sostholm
Copy link

@sostholm sostholm commented Sep 6, 2020

It's now possible to add graphene middleware to GraphQLApp.
Passes graphql tests.

@JayH5 JayH5 added the graphql label Sep 11, 2020
@miguescri
Copy link

Will this be merged anytime soon?

@cglacet
Copy link

cglacet commented Nov 7, 2020

You need to make sure checks are validated.

For example here the file is not properly formated (according to black):

-                middleware=self.middleware
+                middleware=self.middleware,

You can see quickly test how black would re-format this using this online tool.

You should install black on your machine then use it for format your code before adding a new commit to this merge request.

Copy link

@cglacet cglacet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

starlette/graphql.py Outdated Show resolved Hide resolved
starlette/graphql.py Outdated Show resolved Hide resolved
starlette/graphql.py Show resolved Hide resolved
@mangeld
Copy link

mangeld commented Dec 20, 2020

Plz merge this!

@sostholm
Copy link
Author

sostholm commented Feb 3, 2021

Hello, is anything else required from my side to merge this?

@JayH5
Copy link
Member

JayH5 commented Feb 5, 2021

Thank you for creating this pull request. We have decided to deprecate GraphQL support within Starlette itself so I am going to close this pull request. See #619.

@JayH5 JayH5 closed this Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants