Would you have any appetite in cops to enforce visibility? checks for types, fields, arguments, mutations and arguments?
It seems that the current approach to visibility is to assume visible unless there's an explicit visible? check returns false.
But I can see value in requiring visibility to be set such that it works like an "allow list" instead of a "deny list".
This is something I'm exploring for our own project but if there would be value I can contribute upstream.
Would you have any appetite in cops to enforce
visibility?
checks for types, fields, arguments, mutations and arguments?It seems that the current approach to visibility is to assume visible unless there's an explicit
visible?
check returnsfalse
. But I can see value in requiring visibility to be set such that it works like an "allow list" instead of a "deny list".This is something I'm exploring for our own project but if there would be value I can contribute upstream.