Closed myronmarston closed 1 year ago
@myronmarston: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
There's some hoops I have to jump through to sign the CLA. For such a small one-off fix it doesn't seem worth jumping through those hoops so I'm going to close this.
--failOnWarning
is a stricter flag than--failOnRequired
and you don't need to pass--failOnRequired
if you pass--failOnWarning
. However, if you did pass both, it would ignore--failOnWarning
because it checked--failOnWarning
first (and then returned). By checking the stricter--failOnWarning
flag first, it works correctly whether--failOnWarning
is passed alone or together with--failOnRequired
.Fixes #507.