diagnostics
diagnostics copied to clipboard
Why is the /diagnostics_toplevel_state ERROR when one of the diagnostics is STALE
In the current code the toplevel state is only STALE when ALL the diagnostics are STALE. Example:
What I think is more logical is that the state is STALE when one of the diagnostics is STALE and none of them ERROR:
What do you think about this logic? I've implemented this in my fork, but it is a breaking change