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

Add some checks for "request is None" #1632

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

glennmatthews
Copy link
Contributor

Closes: #DNE

What's Changed

In investigating #784, GraphQL schema generation with graph_wrap errored out in a couple of places because we were missing logic to handle the possibility that get_serializer_context["request"] might be None. I'm not sure if the absence of this logic causes problems in any case other than graph_wrap, but it should be harmless to add in any case.

@bryanculver bryanculver merged commit 927627c into next Apr 14, 2022
bryanculver added a commit that referenced this pull request Apr 14, 2022
@bryanculver bryanculver deleted the gfm-serializer-context-request branch April 21, 2022 14:01
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

2 participants