Mutations were previously found using the keyword "GraphQLMutation", while users do not always follow this rule. They can, however, follow this pattern:
extend type Mutation {
users: UserMutation
}
type UserMutation {
createUsers(email: String): User
}
This pull request fixes that problem. I first find what are the mutations that we have, then run the previously implemented analysis
Coverage decreased (-4.6%) to 93.072% when pulling 8afb3f88255174e8dd5befcb1e7c2ff8e72e6ceb on msayagh:master into 3a6c4e60c30865e88e980c0104a2cb9696eb407b on happylinks:master.
Mutations were previously found using the keyword "GraphQLMutation", while users do not always follow this rule. They can, however, follow this pattern:
extend type Mutation { users: UserMutation }
type UserMutation { createUsers(email: String): User }
This pull request fixes that problem. I first find what are the mutations that we have, then run the previously implemented analysis