[PR #526] Complete nullable annotations #1092

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

Original Pull Request: https://github.com/xoofx/markdig/pull/526

State: closed
Merged: Yes


This PR completes the nullability annotations and enables nullable at the project level.

There are 4 possibility breaking changes introduced to enforce initialization of non-nullable properties to the following classes.

HeadingLinkReferenceDefinition
FootnoteLink
FootnoteLinkReference
HtmlInline

While these classes have to be constructed with a non-null object, they remain fully mutable after construction to allow the DOM to be manipulated.

**Original Pull Request:** https://github.com/xoofx/markdig/pull/526 **State:** closed **Merged:** Yes --- This PR completes the nullability annotations and enables nullable at the project level. There are 4 possibility breaking changes introduced to enforce initialization of non-nullable properties to the following classes. HeadingLinkReferenceDefinition FootnoteLink FootnoteLinkReference HtmlInline While these classes have to be constructed with a non-null object, they remain fully mutable after construction to allow the DOM to be manipulated.
claunia added the pull-request label 2026-01-29 14:49:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1092