Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Throw an error when an unknown mutation is requested #1699
I noticed when I was running my unit tests that I got a number of
However... there still were all the the places which were calling the now unknown mutation without triggering any errors of their own in their tests. This pull request changes the reaction to not finding a mutation to thow an error instead of swallowing the problem. This will (correctly, to my mind) cause upstream code which erroneously commits a non-existant mutation to fail.