-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessor for the location of a diagnostic #333
Comments
The issue with this is that you would need the What I think could be a sensible approach to solving this problem is to add |
Depending on how the location is reported it shouldn't need the |
I think so, but I don't see how that would be useful. But it might make sense to implement such a function on the Diagnostic anyway because that would separate some of the code into more sensible pieces and probably also reduce some duplication between |
The documentation says the "location" is the first primary label. It would be helpful for programmatic consumption of the diagnostics if there was a method that exposed that. For instance, it would make it easier to show just diagnostics for a specific "location" by filtering out other locations.
The text was updated successfully, but these errors were encountered: