Skip to content

[Source Gen] Add diagnostic logs for errors when parsing attribute arguments#1882

Merged
satvu merged 4 commits intomainfrom
satvu/add-diag-logs
Sep 12, 2023
Merged

[Source Gen] Add diagnostic logs for errors when parsing attribute arguments#1882
satvu merged 4 commits intomainfrom
satvu/add-diag-logs

Conversation

@satvu
Copy link
Copy Markdown
Member

@satvu satvu commented Sep 1, 2023

Issue describing the changes in this PR

resolves #1878

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

Comment thread sdk/Sdk.Generators/DiagnosticDescriptors.cs
Copy link
Copy Markdown
Contributor

@jviau jviau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really see any harm in adding a diagnostic message for an edge case. It is better than having it silently no-op. Now if it was more logic than just a diagnostic message I would reconsider - but it isn't.

Comment thread docs/analyzer-rules/AZFW0013.md
@satvu satvu merged commit b2b5d47 into main Sep 12, 2023
@satvu satvu deleted the satvu/add-diag-logs branch September 12, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Source Gen] Add diagnostic logs for errors when parsing attribute arguments

4 participants