aerogear / create-graphql

Command-line utility to build production-ready servers with GraphQL.
MIT License
440 stars 38 forks source link

remove node from mutation edit with schema test template #26

Closed sibelius closed 7 years ago

sibelius commented 7 years ago

before

const query = `
    mutation M {
      UserEdit(input: {
        id: "${adminUserId}"
        name: "Example Field to Update"
      }) {
        user {
          node {
            name
            email           
          }
        }
      }
    }
  `;

after

const query = `
    mutation M {
      UserEdit(input: {
        id: "${adminUserId}"
        name: "Example Field to Update"
      }) {
        user {
          name
          email           
        }
      }
    }
  `;
lucasbento commented 7 years ago

Great, can you also remove it here?

I wonder why the tests failed.

codecov-io commented 7 years ago

Current coverage is 54.94% (diff: 100%)

Merging #26 into master will not change coverage

@@             master        #26   diff @@
==========================================
  Files            13         13          
  Lines           182        182          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            100        100          
  Misses           82         82          
  Partials          0          0          

Powered by Codecov. Last update 5d3e826...c766fde