title: TypeError: obj.hasOwnProperty is not a function when calling Graphql mutation
body: <p>I get a strange error and can't figure out what I am doing wrong. I wrote a graphql mutation to call an api:</p>
  
  <pre><code>domainStuff: async (parent, { command, params }, { models }) =&gt; {
    console.log("Params:", params);
    const result = await dd24Api(command, params);
    return result;
  }
  </code></pre>
  
  <p>This it the function I call:</p>
  
  <pre><code>export default async (command, parameter) =&gt; {
    const args = _.merge({ params: parameter }, auth);
    // Eleminate copying mistakes
    console.log(typeof args);
    const properCommand = command + "Async";
    const result = await soap
      .createClientAsync(apiWSDL)
      .then(client =&gt; {
         return client[properCommand](args)
           .then(res =&gt; {
              console.log(res[command + "Result"]);
            return res[command + "Result"];
      })
      .catch(err =&gt; {
        console.log(err);
        return err;
        });
       })
     .catch(err =&gt; console.log(err));
  
  return result;
  </code></pre>
  
  <p>with this query variables:</p>
  
  <pre><code>{
  "command": "CheckDomain",
  "params": {"domain": "test.it"}
  }
  </code></pre>
  
  <p>The console.log shows me that args is an object, but I get this error (from the first catch block):</p>
  
  <pre><code>TypeError: obj.hasOwnProperty is not a function
  </code></pre>
  
  <p>How can that be? After all I checked whether it is an object and it is. More strange, if I give a hardcoded object into the query, this for example:</p>
  
  <pre><code>domainStuff: async (parent, { command, params }, { models }) =&gt; {
    console.log("Params:", params);
    const result = await dd24Api(command, {domain: "test.com"});
    return result;
  }
  </code></pre>
  
  <p>then it works perfectly fine. What am I doing wrong? Thx for any help in advance.</p>
  
  <p>EDIT: I am using "graphql-server-express": "^0.8.0" and "graphql-tools": "^1.0.0"</p>