Skip to content

Conversation

rafaelsc
Copy link

@rafaelsc rafaelsc commented Dec 6, 2023

Fixes #1401

  • I have read the Contribution Guidelines
  • I have commented on the issue above and discussed the intended changes
  • A maintainer has signed off on the changes and the issue was assigned to me
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors
  • The documentation was modified to reflect the changes OR no documentation changes are required.

Changes

  • Better null checking when ExceptionFormatter is looking for TupleElementNamesAttribute using reflection and the type or part of the type was removed by .NET Trimmer.

Please upvote 👍 this pull request if you are interested in it.

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.

Error when using C# PublishTrimmed, Trimmer can remove Types and Properties that spectre.console expects the type to have. (ExceptionFormatter)
1 participant