Skip to content

Add or else methods to option closes #31#47

Closed
Tyrrx wants to merge 4 commits into
mainfrom
feature/or-else
Closed

Add or else methods to option closes #31#47
Tyrrx wants to merge 4 commits into
mainfrom
feature/or-else

Conversation

@Tyrrx

@Tyrrx Tyrrx commented Jan 31, 2025

Copy link
Copy Markdown
Member

No description provided.

@Tyrrx Tyrrx requested a review from ax0l0tl January 31, 2025 08:31

return await none().ConfigureAwait(false);
}

@ax0l0tl ax0l0tl Jan 31, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this actually a breaking change? -> GetValueOrDefault...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You mean the match? In certain cases, as seen in GetValueOrDefault, it breaks the C# type inference.

Comment thread Source/FunicularSwitch/Option.cs
Comment thread Source/Tests/FunicularSwitch.Test/OptionSpecs.cs Outdated
ax0l0tl and others added 2 commits March 10, 2026 08:33
Co-authored-by: Jasper Park <145050804+park-jasper@users.noreply.github.com>
@ax0l0tl ax0l0tl closed this Mar 10, 2026
@ax0l0tl

ax0l0tl commented Mar 10, 2026

Copy link
Copy Markdown
Member

Moved relevant changes to #82

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.

3 participants