Closed rafalp closed 7 months ago
Note to self:
We also want to extract parts of GraphQLMiddleware into reusable utility functions so we can share some view logic between Ariadne and other libs (eg. Django views). We may move those constants there by then.
Currently only constants Ariadne has are HTTP statuses and content types. If move those elsewhere, only constants left behind will be graphql playground.
We could use HTTPStatus
enum from stdlib
Originally posted by @salwator in https://github.com/mirumee/ariadne/pull/61