[PR #522] [MERGED] Enable nullability #1083

Open
opened 2026-01-29 14:49:32 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/522
Author: @iamcarbon
Created: 3/8/2021
Status: Merged
Merged: 3/9/2021
Merged by: @xoofx

Base: masterHead: master


📝 Commits (1)

  • 46c2d49 Begin nullability enablement

📊 Changes

8 files changed (+123 additions, -57 deletions)

View changed files

📝 src/Markdig/Helpers/CharNormalizer.cs (+5 -3)
📝 src/Markdig/Helpers/HtmlHelper.cs (+7 -4)
📝 src/Markdig/Helpers/LinkHelper.cs (+28 -26)
📝 src/Markdig/Helpers/StringLineGroup.cs (+5 -2)
📝 src/Markdig/Helpers/ThrowHelper.cs (+32 -0)
📝 src/Markdig/Markdown.cs (+19 -17)
📝 src/Markdig/MarkdownExtensions.cs (+7 -5)
src/Markdig/Polyfills/NullableAttributes.cs (+20 -0)

📄 Description

This PR aims to enable nullability for the markdig project. To avoid conflicts with existing PR's, it's proposed that nullability be enabled incrementally on a per-file basis before enabling for the project and removing the directives. This effort is likely to span multiple PRs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/522 **Author:** [@iamcarbon](https://github.com/iamcarbon) **Created:** 3/8/2021 **Status:** ✅ Merged **Merged:** 3/9/2021 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`46c2d49`](https://github.com/xoofx/markdig/commit/46c2d49243c2cd02820fbdaf74006ad34ba36b46) Begin nullability enablement ### 📊 Changes **8 files changed** (+123 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig/Helpers/CharNormalizer.cs` (+5 -3) 📝 `src/Markdig/Helpers/HtmlHelper.cs` (+7 -4) 📝 `src/Markdig/Helpers/LinkHelper.cs` (+28 -26) 📝 `src/Markdig/Helpers/StringLineGroup.cs` (+5 -2) 📝 `src/Markdig/Helpers/ThrowHelper.cs` (+32 -0) 📝 `src/Markdig/Markdown.cs` (+19 -17) 📝 `src/Markdig/MarkdownExtensions.cs` (+7 -5) ➕ `src/Markdig/Polyfills/NullableAttributes.cs` (+20 -0) </details> ### 📄 Description This PR aims to enable nullability for the markdig project. To avoid conflicts with existing PR's, it's proposed that nullability be enabled incrementally on a per-file basis before enabling for the project and removing the directives. This effort is likely to span multiple PRs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:49:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1083