Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Improve nullable annotations for IsMissing/IsPresent string extensions #526

Merged

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Aug 22, 2023

By declaring string? value as nullable we can get rid of many null-forgiving operators throughout the code.

By declaring `string? value` as nullable we can get rid of many null-forgiving operators throughout the code.
@leastprivilege
Copy link
Contributor

@josephdecock could you review please

Copy link
Contributor

@josephdecock josephdecock left a comment

Choose a reason for hiding this comment

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

This looks good to me - there's no breaking changes to public APIs, tests pass locally for me, and the change itself seems great. Thanks very much!

@leastprivilege leastprivilege merged commit bcd6b41 into DuendeArchive:main Sep 1, 2023
@leastprivilege
Copy link
Contributor

Thanks!

@0xced 0xced deleted the improve-nullable-annotations branch September 1, 2023 19:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants