title: 'NoneType' object has no attribute 'app' in saleor
body: <p>I am using saleor backend for my current project. There I have to execute saleor graphql queries and mutations inside the code. So instead of hitting graphql api using url I am using schema.execute() with query and variables. With this approach the custom queries and mutations that I created are working perfectly fine. But when I am executing saleor's mutation or queries like-</p>
  <pre><code>import graphene
  schema = graphene.Schema(ProductQueries)
  query = &quot;&quot;&quot;
           {
             products(first: 2, channel: &quot;default-channel&quot;) {
                  edges {
                     node {
                        id
                         name
                         defaultVariant{
                                  id
                                  }
                              }
                              }
                          }
                          }
                      &quot;&quot;&quot;
  data = schema.execute(query, context_value={&quot;app&quot;:&quot;app&quot;})
  print(data.data)
  </code></pre>
  <p>output - <code>{'products': None}</code></p>
  <p>And when I am checking for errors using  <code>print(data.errors)</code>, It is giving me this error-</p>
  <pre><code>**[GraphQLLocatedError(&quot;'NoneType' object has no attribute 'app'&quot;)]**
  </code></pre>
  <p>i checked out in types and schemas of these mutations and queries and nowhere this 'app' attribute is mentioned. Just to test I tried to pass this 'app' attribute in <code>context_value</code> with empty string as well but still It didn't work and this time the error was-</p>
  <pre><code>**[GraphQLLocatedError(&quot;'dict' object has no attribute 'app'&quot;)]**
  </code></pre>