mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #526] Complete nullable annotations #1092
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.