Skip to content

examples: complete missing API coverage across all packages - #26

Merged
senrecep merged 1 commit into
mainfrom
feat/complete-examples
May 27, 2026
Merged

examples: complete missing API coverage across all packages#26
senrecep merged 1 commit into
mainfrom
feat/complete-examples

Conversation

@senrecep

Copy link
Copy Markdown
Owner

Summary

  • Results: Map, Bind, Tap, Else, Finally, GetValueOrDefault/Throw, Unwrap, Recover/RecoverFirst, BindIf, FailIf, TryCatch, Sequence/Traverse/Partition/FirstFailureOrSuccesses
  • Maybe: Bind, GetValueOrDefault/Throw, TryFirst/Last/Find, AsNullable, Execute/ExecuteNoValue, Flatten, Deconstruct, ToMaybeUnitResult, Sequence/Traverse/Partition
  • Any: Index property, AnyActionStatus (Executed/NotExecuted), AnyT4 (4-type variant)
  • Rules: Next combinator for pipeline chaining
  • Errors: Failure/Unexpected/Unauthorized/Forbidden/Exception factories, CreateMany, sentinel values, ErrorType enum extensions, IError interface
  • Validation: LessThan/LessThanOrEqualTo/ExclusiveBetween/InclusiveBetween/Equal/NotEqual, StartsWith/EndsWith/NotNull, ValidateWith/ValidateWithAsync railway binding

659 lines added across 6 files. All 6 example projects build successfully.

Test plan

  • dotnet build passes for all 6 example projects
  • No warnings introduced
  • All new examples use correct method signatures verified against source

🤖 Generated with Claude Code

Add 659 lines of new examples covering previously uncovered APIs:
- Results: Map, Bind, Tap, Else, Finally, GetValueOrDefault/Throw, Unwrap,
  Recover/RecoverFirst, BindIf, FailIf, TryCatch, collection extensions
  (Sequence, Traverse, Partition, FirstFailureOrSuccesses)
- Maybe: Bind, GetValueOrDefault/Throw, TryFirst/Last/Find, AsNullable,
  Execute/ExecuteNoValue, Flatten, Deconstruct, ToMaybeUnitResult,
  Sequence/Traverse/Partition
- Any: Index property, AnyActionStatus, AnyT4 (4-type variant)
- Rules: Next combinator for pipeline chaining
- Errors: Failure/Unexpected/Unauthorized/Forbidden/Exception factories,
  CreateMany, sentinel values, ErrorType enum, IError interface
- Validation: LessThan/LessThanOrEqualTo/ExclusiveBetween/InclusiveBetween/
  Equal/NotEqual, StartsWith/EndsWith/NotNull, ValidateWith railway binding

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@senrecep
senrecep merged commit 2c185d2 into main May 27, 2026
4 checks passed
@senrecep
senrecep deleted the feat/complete-examples branch May 27, 2026 18:11
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

senrecep added a commit that referenced this pull request May 27, 2026
examples: complete missing API coverage across all packages
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.

1 participant